[ragel-users] Scanner question

Jose Quinteiro jose at ordinate.com
Sat Dec 6 01:52:35 UTC 2008

That also accepts "nume", "numr", etc., and I want those to be an error.


Diego E. "Flameeyes" Pettenò wrote:
> On Sat, Dec 6, 2008 at 1:42 AM, Jose Quinteiro <jose at ordinate.com> wrote:
>> I'm trying to write a scanner that accepts "num", "numb", "numbe", etc.
>> as the same token.  The only way I can think of that accomplishes this is:
> I admit I haven't even tested, but I'd expect something like 'num'
> 'b'?'e'?'r'? to work

More information about the ragel-users mailing list