[TxMt] Re: Commands not working in recent TM2 builds

Paul McCann pmccann at gmail.com
Thu Feb 14 00:50:38 UTC 2013

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 <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    .....\/([^/]+)..........

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130214/3092d869/attachment.html>

More information about the textmate mailing list