[antlr-interest] grammar help please.
Mike Hingley
computa_mike at hotmail.com
Thu Apr 15 04:07:46 PDT 2004
Hi -
I am trying to define a grammer for a 15 digit number.
I realise that i could do something like this :
('0'..'9' '0'..'9'..........)
15 odd times, however I was wondering if there was a nicer notation
so that it looked a little more like this :
('0'..'9')+{15}
or whatever.
Anyone got any ideas?
thanks
Mike
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list