Ram Rachum <[email protected]> added the comment:
I'm gonna look past the rudeness, and I'll just say that if I was tripped up by
this, after 11 years of working with Python and the re module, then people in a
beginner or intermediate level could be tripped up by this as well.
Here's another, simpler suggestion for preventing confusion. Replace this line
in the docstring:
(?aiLmsux) Set the A, I, L, M, S, U, or X flag for the RE (see below).
With this line:
(?aiLmsux) Apply flags to the entire pattern, allowing
small tweaks to the matching logic (details below).
There's no reason to mention the letters there because they're already
mentioned. And it's helpful to add a short explanation, like the other entries
in that list.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40016>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com