In flex, I want to return multiple tokens for one match of a regular expression. Is there a way to do this?
The way I've been doing this is to create a queue of to-be-returned tokens, and at the beginning of yylex()
, check for tokens and return them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With