[antlr-interest] Quantifiers

Phil Ritchie endigitalmind at yahoo.co.uk
Sat Jan 23 13:50:57 PST 2010


I think ANTLR might be a quick way for me to build a validating lexer/parser. The file I want to validate is essentially a comma separated values file but the content of individual fields must adhere to content and length restrictions. One field specification I can't seem to find a way of declaring is (in regular expression form): [a-zA-Z]{1,128}.
 
Is there a way I could approach this?
 


      


More information about the antlr-interest mailing list