rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

Java string matching fails for \"

Open nijikokun opened this issue 12 years ago • 2 comments

should be replaced with: /(")(.*?[^\\\1])?(\1)/g

nijikokun avatar Mar 12 '13 20:03 nijikokun

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.

ccampbell avatar Mar 19 '13 01:03 ccampbell

+1

ivolo avatar Apr 15 '13 06:04 ivolo