|
|
|
|
|
by panic
3358 days ago
|
|
I reduced the need for escaping further by having a backslash escape a whole series of backslashes rather than just the very next character. How do you write the string with characters '\' and ']'? It seems like the natural way to write it, [\\\]], would end up being lexed as [\\\] (a string with two backslashes) followed by an unmatched string end character ']'. |
|