Groovy lexer doesn't properly colorize code with division operators
The Groovy lexer doesn't colorize the following code properly:
def str1 = /String one/ int num = 30 / 3 num /= 10 def str2 = /String two/
If the code does not use slashy strings, an easy workaround would be to simply disable colorization for them as follows (line 331 of jvm.py):
However, this code does, and it appears that a fix would need to disambiguate between a '/' that is a division operator and a '/' that is the start of a slashy string. I do not know Pygments enough to do this fix and thus I humbly ask for help from the experts.