rainbow
rainbow copied to clipboard
Java string matching fails for \"
should be replaced with: /(")(.*?[^\\\1])?(\1)/g
Yeah, I didn't write the Java grammars. I actually wonder if Java should inherit from the generic grammars. Almost all of the rules are repeats from generic.js, and as you mentioned the string matching is not as good.
+1