Java string matching fails for \" #110

Open
nijikokun opened this Issue Mar 12, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@nijikokun

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

@ccampbell

This comment has been minimized.

Show comment Hide comment
@ccampbell

ccampbell Mar 19, 2013

Owner

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.

Owner

ccampbell commented Mar 19, 2013

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.

@ivolo

This comment has been minimized.

Show comment Hide comment
@ivolo

ivolo Apr 15, 2013

+1

ivolo commented Apr 15, 2013

+1

@ccampbell ccampbell added the bug label Jul 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment