Improving std.regex(p)

Nick Sabalausky a at a.a
Sat Jun 19 17:18:27 PDT 2010


"Ben Hanson" <Ben.Hanson at tfbplc.co.uk> wrote in message 
news:hvj9i1$1q7b$1 at digitalmars.com...
> Lua has an interesting pattern matcher, as it goes more in
> the formal grammar direction to (for example) match balanced parenthesis 
> etc.

That's cool. That's something I've often wanted in regexes (It would be 
great for defining lever tokens in a grammar-definition language), and 
though I'm no FSA or regex expert, it always seemed like something entirely 
doable without having to resort to a full-blown LL or LR parser. 




More information about the Digitalmars-d mailing list