[SVN] LaTeX syntax coloring

Allan Odgaard allan at macromates.com
Wed May 11 00:51:22 UTC 2005


On May 9, 2005, at 23:50, Brad Miller wrote:

> My first though was that the .* inside the square-brackets should be 
> non-greedy and I tried making the whole TOC part of the regular 
> expression non-greedy but neither of those options worked for me.  I'm 
> not sure why....

This works for me (double-escaped):
    \\\\part\\*?(\\[.*?\\])?\\{.*?\\}




More information about the textmate-dev mailing list