views:

63

answers:

1

Hi,

I'm used to play with regexp in languages where I can use parenthesis to capture references. The only thing near that in flex that I'm seeing is the yytext variable. But it's contents are the full matched regexp and not just some part of it.

Isn't the use of back references in flex possible? If so, how can I do it? I can't find anything about the subject...

I'm talking about this: http://en.wikipedia.org/wiki/Flex_lexical_analyser

A: 

After searching even more I don't believe it's possible... If anyone knows otherwise, let me know please.

Nazgulled