PyWart: Python regular expression syntax is not intuitive.

Devin Jeanpierre jeanpierreda at gmail.com
Wed Jan 25 21:24:14 EST 2012


On Wed, Jan 25, 2012 at 7:14 PM, Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
> It is germane in the fact that i believe PyParsing, re, and my new
> regex module can co-exist in harmony.

If all you're going to change is the parser, maybe it'd be easier to
get things to coexist if parsers were pluggable in the re module.

It's more generally useful, too. Would let re gain a PyParsing/SNOBOL
like expression "syntax", for example. Or a regular grammar syntax.
Neat for experimentation.

-- Devin



More information about the Python-list mailing list