Would you like a Snobol pattern matcher? (Re: Making regex suck less)
Greg Ewing
see_reply_address at something.invalid
Mon Sep 2 21:18:52 EDT 2002
John Roth wrote:
> http://www.perl.com/pub/a/2002/06/04/apo5.html
>
> http://www.perl.com/pub/a/2002/08/22/exegesis5.html
I just had a brief look at this, and the underlying
ideas seem to be a lot like the way Snobol patterns
work.
Maybe it's time for me to resurrect the Snobol-style
pattern matching module that I started on a while
back and never got around to releasing.
Would anyone be interested in this? Its
syntax is similar to that of Plex REs, except that
the primitives are Snobol-like, and it uses a
backtracking matching algorithm that's much more
powerful than a DFA (you can write entire parsers
in it, for example).
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list