Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple regex on the same line breaks

diasjorge opened this issue · comments

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.