[docs] DOCS - (regex error?)

EQ mandingo roadofsolo at gmail.com
Tue Sep 12 18:58:57 EDT 2017


I believe there is an error in the example expression used in the docs.

*"In the regex (\s+)(?|(?P<foo>[A-Z]+)|(\w+) (?P<foo>[0-9]+) there are 2

The "(?|" has no closing ")" in the expression, I have not tested this but
just seeing this and breaking it down across line breaks makes my brain
immediately go to PCRE mindset and say this expression is broken.  Am I
missing something?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20170912/25bdae58/attachment-0001.html>

More information about the docs mailing list