[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can flex generate gnurex-like output of yytext?
From: |
Ning Cao |
Subject: |
can flex generate gnurex-like output of yytext? |
Date: |
Sat, 17 Jan 2004 15:19:18 +0800 |
Dear all,
I remember that in gnurex, sub regular expressions can be defined as
variable and
can be retrieved seperately, for example, for a fractional number 3.5 may be
written as
+3 1/2 .
I would like to get seperated parts of the fraction, such as (3) (1) (2),
not "+3 1/2" as a
whole word.
Can I get the same result using yytext like this?
With Regards,
Yours,
Ning Cao