[Python-bugs-list] [ python-Feature Requests-433024 ] SRE: (?flag) isn't properly scoped

noreply@sourceforge.net noreply@sourceforge.net
Mon, 10 Dec 2001 10:46:13 -0800


Feature Requests item #433024, was opened at 2001-06-14 01:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=433024&group_id=5470

>Category: Regular Expressions
Group: None
Status: Open
Priority: 3
Submitted By: Fredrik Lundh (effbot)
>Assigned to: Fredrik Lundh (effbot)
Summary: SRE: (?flag) isn't properly scoped

Initial Comment:
from the jeffrey friedl report:

The way (?i) works now is that if it appears anywhere 
in the regex, it turns on case-insensative matching 
for the entire regex. This is different (and less 
useful) than how Perl or Sun's Java package does it

[I'm pretty sure SRE does it this way to exactly
match the version of PCRE used in 1.5.2, but maybe
it's time to move forward... /F]

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=433024&group_id=5470