PyWart: Python regular expression syntax is not intuitive.
Terry Reedy
tjreedy at udel.edu
Wed Jan 25 15:33:53 EST 2012
On 1/25/2012 12:16 PM, Rick Johnson wrote:
>
> (?...) # Base Extension Syntax
> All extensions are wrapped in parenthesis and start with a question
> mark, but i believe the question mark was a very bad choice, since the
I think that syntax came either from Perl or the pcre library used by
several open source programs, including several Python versions.
https://en.wikipedia.org/wiki/Pcre
has some info on this.
--
Terry Jan Reedy
More information about the Python-list
mailing list