/enriquebris at cimex.com.cu/:
> rule : (OTAG) (.)?{some code…} (CTAG)
>
> The problem is that the (.)? eats all characters including CTAG (>).
The (.)? will match a CTAG also, and then the rule will try to match
one more CTAG. I guess you need to use (~CTAG)? which will match any
token except CTAG.
--
Stanimir