Hello,
am new to lex and I wanna take all the matches specific to a regular expression
for example in the following text :
/* text text
text
text
text */
text text
/* text text text text text text
text text */
i wanna choose the two matches between /* and */
but lex matches the whole outer match and doen't return the two! I use this expression :
\/\*(.|\n)*\*\/
How to select inner matches instead of the whole outer one? thank you