[TxMt] Javascript syntax coloring error

Allan Odgaard throw-away-1 at macromates.com
Wed Oct 26 14:58:29 UTC 2005


On 26/10/2005, at 16.01, Sune Foldager wrote:

>> When I escape a double-quote inside a regexp of a javascript snippet,
>> the syntax coloring is off.
> Hmm.. the regexps in the language files are rather complicated,  
> using begin/end and some stuff I didn't keep uo to date with ;-).  
> Anyone knows a reason for not just using a simple pattern?

Ambiguity with division:

     math = 43 /2/ 4;
   regexp = /(?x)  # continue at next line
             .*/




More information about the textmate mailing list