Slashy strings backslash syntax highlighting - by purpose?
Opened this issue · 2 comments
schwaerz commented
First of all: Thanks for the groovy syntax highlighting in Atom!
About this issue: I found that the syntax highlighting of slashy strings probably should not highligh backslash sequences as they will not be handled the same as for single and double quotet strings.
It's up to the receiver of these strings how the backslash sequences are handled.
- If the receiver is a regex it will translate the backslash sequences
- If the receiver e.g. is a windows file path, e.g.
new File(/c:\Users\myself\SomeFile.txt/)
there won't be any backslash translation done by anything.
schwaerz commented
Looks like even the github formatter takes care about the '' in groovy slashy strings :-/
JakeHP commented
Hey thanks for submitting an issue! I'll look into this when I can. PR's are appreciated.