[ragel-users] question about the union operation
thurs... at cs.queensu.ca
Fri Feb 15 18:11:23 UTC 2008
Within or literals - is used to separate ranges. You'll need to escape
the '-' character with '\'.
Manoj Rajagopalan wrote:
> hi ragel users,
> I find ragel having trouble with expressions like the following:
> (alnum | [_-])+
> I get errors like:
> mmp-parser.rl:33:30: at token RE_SqClose: parse error
> Is the above expression incorrect for matching a string that can
> contain alphanumeric characters or '_' or '-'
More information about the ragel-users