[Python-ideas] Ignorable whitespaces in the re.VERBOSE mode

MRAB python at mrabarnett.plus.com
Thu Nov 16 17:09:44 EST 2017


On 2017-11-16 21:44, Serhiy Storchaka wrote:
> 16.11.17 19:38, Guido van Rossum пише:
>> Who would benefit from changing this? Let's not change things just 
>> because we can, or because Perl 6 does it.
> 
> I don't know. I know the disadvantages of making this change, and I ask
> what is the benefit. If there is a benefit, and it is important for
> Python, I could implement this feature in re and regex.
> 
You could see what some more languages, e.g. C#, do. If there isn't a 
consensus of some kind, it's best to leave it.


More information about the Python-ideas mailing list