Lex -- An Automatic Scanner Generator
Operators and Special Symbols in Lex
The Lex Manual
An Example of Using Lex