[issue3482] re.split, re.sub and re.subn should support flags

2010-10-16 Thread R. David Murray
R. David Murray added the comment: For reference, the py3k rev was r70091. -- nosy: +r.david.murray resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker __

[issue3482] re.split, re.sub and re.subn should support flags

2010-10-13 Thread Matt Keeler
Matt Keeler added the comment: Python 2.7 docs say this was added in 2.7.3.1 Python 3.1 docs say this was added in 3.1 The problem with calling 're.split(pattern, string, re.I)' is that you are using positional arguments only. If you were to do 're.split(pattern, string, flags=re.I)', that s

[issue3482] re.split, re.sub and re.subn should support flags

2010-08-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue3482] re.split, re.sub and re.subn should support flags

2010-08-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: This request seems reasonable. -- keywords: +easy nosy: +rhettinger ___ Python tracker ___ ___ Py

[issue3482] re.split, re.sub and re.subn should support flags

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> unit test needed versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Pyt

[issue3482] re.split, re.sub and re.subn should support flags

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3482] re.split, re.sub and re.subn should support flags

2008-09-27 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3482] re.split, re.sub and re.subn should support flags

2008-08-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Please note that the flags can be inlined in the pattern instead. That is, you can begin the pattern with "(?i)" instead of passing re.I in the flags parameter. -- nosy: +pitrou priority: -> normal type: behavior -> feature request v

[issue3482] re.split, re.sub and re.subn should support flags

2008-08-01 Thread Benoit Thiell
Changes by Benoit Thiell <[EMAIL PROTECTED]>: -- components: +Regular Expressions type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3482] re.split, re.sub and re.subn should support flags

2008-08-01 Thread Benoit Thiell
New submission from Benoit Thiell <[EMAIL PROTECTED]>: Given that the search operations support flags, it seems natural for a developer that the other functions in the module support flags as well. So when running "re.split(pattern, string, re.I)", the split() command seems to not work and don't