You are right, of course, but the escapes were actually there in the version of the e-mail which I sent - it seems they have been stripped somewhere. So I don't think this is the problem, and having double-checked the versions of the regexes which are in the actual file, I'm fairly sure there is no syntax error in them.

In any case, this doesn't explain why the problem only occurs with recent TM builds. I don't see anything in the release notes about a change in the regex parsing engine.

Jon


On 14 February 2013 00:50, Paul McCann <pmccann@gmail.com> wrote:
Brandon wrote...

Your regexes are probably badly formed.  Read more about what makes a regex engine explode here: http://www.regular-expressions.info/catastrophic.html

The one that jumps out at me is: 
 
  windowTitle = "${projectDirectory/^.*/([^/]+)$/$1/} — $TM_DISPLAYNAME"

I'm pretty sure that you want to escape the second slash that appears in there, as you want it to represent a literal slash, not a regex delimiter.  

That is    .....\/([^/]+).......... 

Cheers,
Paul



_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate