[TxMt] Re: regexp problem - eternal loop - how to cancel?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Mon Sep 8 06:23:45 UTC 2008


On 07.09.2008, at 15:06, Allan Odgaard wrote:
> On 4 Sep 2008, at 10:44, Hans-Jörg Bibiko wrote:
>> [...]
>> [ATTENTION TextMate will freeze!!!!]
>>>
>> [...]
>> Of course, this is a problem of the regexp but if one wants to  
>> develop
>> such a regexp such errors could appear. The question now is how to
>> interrupt such an eternal regexp loop??
>> To be honest I have no idea but maybe one could listen to the  
>> keyboard
>> event (APPLE+.) inside of the regexp function.
>
> It’s easier said than done (allowing graceful aborting of exponential
> time regexps)
Unfortunately I know ;)

> but it is something which is on the radar.
Thanks!

--Hans




More information about the textmate mailing list