Hi,
i have the following lexer rule to detect strings:
LONGSTRING
: '['('=')*'[' ( EscapeSequence | ~('\\'|']') )* ']'('=')*']'
;
How can i ensure that the number of = before and after the string are
the same.
For example:
[==[Hello World]==] would be ok
[[Hello World]=] won't
thanks, nicolai