Hi, I just want to merge these two rules in one rule but I don't succeed to do it Any help would be greatly appreciated. ALNUM : 'a'..'z'|'A'..'Z'|'0'..'9' ; (ALNUM|'"'!) (ALNUM)* ('"'!|) (ALNUM|'"'!) (~(' '|'\t'|'\r'|'\n'))* ('"'!|) Thanks in advance Hervé Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/