[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Grammatica-users] Getting token regular expressions
From: |
Oliver Bock |
Subject: |
[Grammatica-users] Getting token regular expressions |
Date: |
Tue, 15 Sep 2009 16:51:12 +1000 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
I have a token like this:
FFORMAT = <<F(\d+)\.(\d+)>>
In my analyzer I would like to refer to the groups without needing to
copy-and-paste the text of the regular expression, because the
expression might change. I cannot see a way to get the expression back
from my Tokenizer class. Is it possible?
Oliver
P.S. Grammatica rocks: so simple, so un-yacc.
- [Grammatica-users] Getting token regular expressions,
Oliver Bock <=