regex lint

grarpamp grarpamp at
Fri Sep 25 09:22:56 UTC 2009

> No, grep(1) uses the GNU regex library, while find(1) uses the
> one from libc (which, among other shortcomings, is not localized).


> /(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$'

More information about the freebsd-current mailing list