Nathan Gray <[email protected]> writes: > On Sat, Oct 03, 2009 at 01:32:38AM -0700, Jason Dagit wrote: >> Specifically, our current list looks like: >> \.(foo|FOO)$ >> >> I think we should transform that to: >> \.[fF][oO][oO]$ >> >> I think that better captures the case-insensitive intent that we had. > > If we want case-insensitive, can't we use a case-insensitive flag? > > (?i)\.foo$ > > That's how it's written for Perl. I'm not sure of the syntax outside > of Perl.
AIUI we currently use EREs, so are restricted to the functionality mentioned in regex(7). That has no equivalent for (?i) other than [fF][oO]... _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
