[issue1661] re.match ignores optional flags when receiving a compiled regex pattern

2007-12-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed. See commit 59573. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1661] re.match ignores optional flags when receiving a compiled regex pattern

2007-12-19 Thread Raymond Hettinger
Changes by Raymond Hettinger: -- assignee: -> rhettinger nosy: +rhettinger versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __

[issue1661] re.match ignores optional flags when receiving a compiled regex pattern

2007-12-19 Thread Brandon Corfman
New submission from Brandon Corfman: Python's documentation for the re.match function is match(pattern, string, [flags]) where pattern can be either a regex string or a compiled regex object. If it's a compiled regex object, then supplying an optional flag to re.match (in my case, re.IGNORECASE)