Improving std.regex(p)
Nick Sabalausky
a at a.a
Sat Jun 19 17:19:28 PDT 2010
"Nick Sabalausky" <a at a.a> wrote in message
news:hvjmo1$2mnu$1 at digitalmars.com...
> "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.
>
That's "...defining lexer tokens...", not "...defining lever tokens...", of
course.
More information about the Digitalmars-d
mailing list