regex lint

grarpamp grarpamp at gmail.com
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).

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.


More information about the freebsd-current mailing list