regulex
regulex copied to clipboard
Not able to escape backslash

It is a special case, because backslash need to represent"\n","\t" in literal string, so a raw'\' need to represent as '\\'. e.g. /\\n/ should be represent as "\\n" that if represent as"\n" will cause ambiguous . And/\*/ represent as"*"won't cause ambiguous,because the blue square box already indicates it is literal.
Thanks JexCheng . Is there any other way to represent "\n" as only "\n" , by changing box color or something like that .. Now also it looks like ambiguous to me with two backslashes and n :) :)
I have no idea, do you have any suggestion? PS: Current representation conform with JavaScript String literal