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 return a message error (I understand that
're.I' is understood as 'maxsplit=0'.)

This is confusing and I think that it should be changed so that all
functions in the module are consistent.

----------
messages: 70543
nosy: benoit
severity: normal
status: open
title: re.split, re.sub and re.subn should support flags

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3482>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to