[TxMt] [PHP bundle] C-style comment mistaken for regex in strings
throw-away-1 at macromates.com
Mon Jul 16 20:12:39 UTC 2007
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.
More information about the textmate