Author belopolsky
Recipients belopolsky, effbot
Date 2008-03-17.14:01:50
SpamBayes Score 0.391633
Marked as misclassified No
Message-id <1205762512.34.0.887728944067.issue433024@psf.upfronthosting.co.za>
In-reply-to
Content
This is still a valid issue. (As of Python 2.6a1+ (trunk:61434, Mar 17 
2008, 08:06:54).)

>>> bool(re.match("abc(?i)","AbC"))
True

The documentation says that the behavior of a regex with (?<letter>) not 
at the beginning is undefined.

Short of implementing Java/Perl behavior, this should be made an error 
rather than undefined so that users porting their code from Java/Perl 
get an early warning.
History
Date User Action Args
2008-03-17 14:01:52belopolskysetspambayes_score: 0.391633 -> 0.391633
recipients: + belopolsky, effbot
2008-03-17 14:01:52belopolskysetspambayes_score: 0.391633 -> 0.391633
messageid: <1205762512.34.0.887728944067.issue433024@psf.upfronthosting.co.za>
2008-03-17 14:01:51belopolskylinkissue433024 messages
2008-03-17 14:01:51belopolskycreate