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

Jon Clayden jon.clayden at gmail.com
Thu Feb 14 10:58:20 UTC 2013

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.


On 14 February 2013 00:50, Paul McCann <pmccann at 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<http://www.regular-expressions.info/catastrophic.html>
> The one that jumps out at me is:
>>   windowTitle = "${projectDirectory/^.*/([^/]+**)$/$1/} —
> 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 at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130214/c8e0ac0b/attachment-0001.html>

More information about the textmate mailing list