[darcs-users] Regular Expression libraries and linker errors

Nathan Gray kolibrie at graystudios.org
Mon Oct 5 13:54:49 UTC 2009


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.

-kolibrie



More information about the darcs-users mailing list