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

Thanks,
Jose.

Diego E. "Flameeyes" Pettenò wrote:
> On Sat, Dec 6, 2008 at 1:42 AM, Jose Quinteiro <[EMAIL PROTECTED]> 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
> 

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to