I want to make a rule in flex to consume c-style strings from the following pattern:
1) Letters between " " , for example: "str".
2) Can be any of the letter ASCII that can bet printed apart of the following symbols: \
or "
or only \n
.
For example:
"strsr"
"also're\n"
I know that I can to do it with "start conditions" but I don't know how to do it.