You can use a custom filter between a lexer and a parser to map the token types output by the lexer to anything you want. Susan J. Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/