What is the best way to ignore a string or a commented statement and ignore these only, during the parsing?
The best way is to use a parser that knows about the language it is parsing rather than rely on regular expressions to figure out what needs highlighting or not.
In reply to Re: need to recognize string literals and ignore then during parsing.
by duff
in thread need to recognize string literals and ignore then during parsing.
by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |