[ragel-users] Scanner question

Diego E. "Flameeyes" Pettenò flameeyes at gmail.com
Sat Dec 6 01:41:02 UTC 2008


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

-- 
Diego "Flameeyes" Pettenò - flameeyes at gmail.com
Free Software developer and consultant
http://blog.flameeyes.eu/


More information about the ragel-users mailing list