Syntax color for Javascript Regex fails
I can't figure out why my regex goes blue with a gray background in the code below, given the color setting that can be seen below it?
I'm using RubyMine 3.0.
Would anyone know how to fix this?
Please sign in to leave a comment.
Further to this, I since discovered the RegExp syntax color options in settings:


But it still manages to color some of my Regex this dark blue color - which I can't find anywhere
NB the regex is supposed to read "/\{.*?,.*?\}/g" but you can't read the \}
Here's my settings for RegExp (and my settings for General|Inject language fragment is the light-green on dark-green color)
Hello Panda,
In RubyMine 3.0, a number of colors used for regexp highlighting are missing
from the settings page. All of the colors will be configurable in RubyMine
3.1.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello.




This bug is related not only to javascript regexp.
Also, current version is 3.2.3 and it does not seem to be fixed here.
UPD.
There is also problems with ERB templates, namely with injected javascript (gray background):
Can't understand from where it came from, but it appears only if js string contains html.
Background for injected languages can be configured in Settings | Editor | Color & Fonts | General | Injected language fragment
Wow, It even helped with regular expressions, they doesn't have this gray background, thank you!

It's just a bit broken now:
Can't make it using single color.
Set gray foreground in Colors & Fonts | RegExp | Keyword, Colors & Fonts | RegExp | Keyword, .. | Escaped character and ...|Redundant escape sequence
Yes, correct, but quite the contrary I tried to remove gray color :) It seems that this options

is missed in Colors & Fonts → RegExp, because to colorize entire regexp in violet I should
set global text color in Colors & Fonts → General → Default text to violet, but this is not good
because it affects on all simple text.
Thus it should be an option to colorize all other parts in regexp, what is not possible for now:
Ok, indeed it isn't customizable. Please file a bug request at http://youtrack.jetbrains.net/issues/ruby