[issue2851] Eliminate Perl legacy in re flag names

2008-05-14 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Please keep them. They correspond to the (?x) and (?s) syntax that is supported inside the regex. Perl compatibility is a feature, not a bug for the re module. -- nosy: +gvanrossum resolution: -> wont fix status: open -> closed

[issue2851] Eliminate Perl legacy in re flag names

2008-05-14 Thread Mark Summerfield
New submission from Mark Summerfield <[EMAIL PROTECTED]>: The re module has the following flags (amongst others): re.X == re.VERBOSE re.S == re.DOTALL The short forms of both these flags are clearly taken from Perl, but they don't seem necessary for Python and are confusing since all the other