[Gd-chatter] [Bug 7371] New: case sensitive options are broken
bugzilla-daemon at gwydiondylan.org
bugzilla-daemon at gwydiondylan.org
Mon Feb 18 07:08:58 CET 2008
http://www.gwydiondylan.org/cgi-bin/bugzilla/show_bug.cgi?id=7371
Summary: case sensitive options are broken
Product: libraries
Version: unspecified
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: regular-expressions
AssignedTo: carlgay at gmail.com
ReportedBy: carlgay at gmail.com
CC: gd-chatter at gwydiondylan.org
The way case sensitivity is handled in the current code is broken:
* During parsing the case-sensitive argument applies only to
character sets.
* During matching the case-sensitive argument applies only to
non character sets.
I believe the right thing is to get rid of the case-sensitive
argument for matching and make the one for parsing "just work". It
will have to just work anyway, once on-the-fly flags like (?i) are
implemented.
Probably this means storing a default-case-sensitive flag in the
regex, and then maintaining a dynamic flag during matching, but I
haven't thought it through yet.
--
Configure bugmail: http://www.gwydiondylan.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the chatter
mailing list