Hi,
I want to define a LABEL lexer rule which should match almost anything.
Let’s say any non-control Unicode symbol. Antlr wouldn’t accept .* or
.+. I probably don’t want a closing brace in there since it is a
lisp-like grammar, but even space would be fine (although it probably
won’t occur), so I did ~(')')+ but that feels like a hack. Can I use
POSIX regex classes such as p{alphnum} or something of the like?H. -- Hendrik Maryns http://tcl.sfs.uni-tuebingen.de/~hendrik/ ================== Ask smart questions, get good answers: http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc
Description: OpenPGP digital signature
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
