[antlr-interest] How to Match a Double-Quote Character
jaluber at gmx.de
Fri Aug 8 11:59:25 PDT 2008
titech at metaorb.com schrieb:
> Suppose I
> want to match the double quote character in this input:
> (string_quote “)
> following lexer rule fails to match this (but succeeds if I change the input to
> contain a single quote instead.
> : '\'' | '"' |
> ~(' ' | '\t' | '\r' | '\n');
> Is this a
> bug in 3.1b2, or am I doing something wrong?
More information about the antlr-interest