> No, grep(1) uses the GNU regex library, while find(1) uses the > one from libc (which, among other shortcomings, is not localized). Ok. > /(foo|)/ is equivalent to /(foo)?/ I should've seen that grouping simplification. I was thinking this was all that was left to use: 'foo\.bar$|foo$' Thx.