Re: regex lint

From: grarpamp <grarpamp_at_gmail.com>
Date: Fri, 25 Sep 2009 05:22:54 -0400
> 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.
Received on Fri Sep 25 2009 - 07:22:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC