[Python-ideas] Add regex pattern literal p""

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Dec 30 17:44:00 EST 2018


I don't see a justification for baking REs into the syntax of Python.

In the Python world, REs are just one tool in a toolbox containing
a great many tools. What's more, it's a tool that should be used
with considerable reluctance, because REs are essentially unreadable,
so every time you use one you're creating a maintenance headache.
This quality is quite the opposite of what one would expect from a
core language feature.

-- 
Greg


More information about the Python-ideas mailing list