[antlr-interest] Regular expression "repetition"
peg_ericsson
per.geil at ericsson.com
Mon May 17 05:07:06 PDT 2004
Hi,
I am trying to figure out how the flex repetition expression:
r{2,5} anywhere from two to five r's
can be written using ANTLR. I am aware of the existing:
(...)? 0 or 1.
(...)+ 1 or more.
(...)* 0 or more.
but how can e.g. "2 to 5 repetitions" be specified?
Thanks,
Per
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