A pure PHP lexer / tokenizer for RTF files