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

2010-10-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

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

2010-10-13 Thread Matt Keeler
Matt Keeler mjkeel...@gmail.com 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,

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

2010-08-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: unit test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3482 ___ ___

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

2010-08-11 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: This request seems reasonable. -- keywords: +easy nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3482

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

2010-08-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - unit test needed versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3482 ___

[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] http://bugs.python.org/issue3482 ___ ___ Python-bugs-list mailing

[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] http://bugs.python.org/issue3482 ___

[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

[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

[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] http://bugs.python.org/issue3482 ___