This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, effbot
Date 2008-03-17.14:01:50
SpamBayes Score 0.391633
Marked as misclassified No
Message-id <>
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"))

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.
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: <>
2008-03-17 14:01:51belopolskylinkissue433024 messages
2008-03-17 14:01:51belopolskycreate