6 Jun
2008
6 Jun
'08
9:48 p.m.
Hi! Eric Niebler schrieb:
A-hem. http://www.boost.org/doc/libs/1_35_0/doc/html/xpressive.html
Ups. I should keep up a little. :)
:-) If by "user-defined pattern" you mean, specified by the user either at compile-time or at runtime, then I think Xpressive is your best bet.
Altough spirit has dynamic parsing capabilities it is focussed on a static grammar. Maybe to the OP xpressive is of more help then. By the way: looking into the introduction of xpressive, who actually allowed identifiers like "_w"? Leading underscore and a non-digit following it would be reserved to the compiler, I thought?!? Frank