[antlr-interest] Problem parsing unit symbols
Jim Idle
jimi at temporal-wave.com
Thu Nov 5 10:06:15 PST 2009
>
> fragment OHM : '\u2126' | '\u03A9'; // Ohm symbol
> fragment ALP : '\u0251' | '\u03B1'; // alpha
I hacked ANTLRWorks to set UTF8 encoding on file input rather than default and your example stuff works except for the fact that the ALP fragment here does not match your Angstrom symbol in your text, which is \u00E5. ALP is something else.
Jim
More information about the antlr-interest
mailing list