'/* foo */' is highlighted as regular expression.
Adding (?!*) after first slash in begin token for quoted regex syntax fixes it.
On 11. Jul 2007, at 12:24, porneL wrote:
'/* foo */' is highlighted as regular expression.
Adding (?!*) after first slash in begin token for quoted regex syntax fixes it.
Likely we’ll disable (by default) regexp coloring in PHP strings (which look like regexps) since people have too many cases where it’s too complex to get right.