Use regular expressions for lexical rules