Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

Multiple regex on the same line breaks #135

Closed diasjorge closed 4 years ago

diasjorge commented 5 years ago

If you have a method call like:

text.replaceAll(/([A-Z])/, /-$1/)

The second string is not highlighted.

When you have something like:

text.replaceAll(/./, /-/)

All the code after that is wrongly highlighted.