[antlr-interest] Regular Expression Syntax in ANTLR

rcreekmore_2003 rcreekmore_2003 at yahoo.com
Sun Mar 23 08:11:41 PST 2003


Can someone tell me what regular expression syntax ANTLR uses, and 
where I could find some examples?

I am trying to parse fields from a web log file and having some 
difficulty.

One problem is with USER/Domain. I tried ('A'..'Z''a'..'z')
+ '\'('A'..'Z''a'..'z')+ .

This didn't work (it doesn't like the backslash, which, in this 
case, I don't want to treat as an escape character.

Any help would be much appreciated.




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list