Author Topic: Runaway regex search and replace require program reboot  (Read 3894 times)

PouncingPanda

  • Community Member
  • Posts: 74
  • Hero Points: 2
Runaway regex search and replace require program reboot
« on: April 08, 2008, 09:31:51 PM »
Some regular expressions when applied via search and replace cause infinite recursion which essentially hangs SlickEdit.  Is there an option to cancel a search and replace midstream or give it a timeout for this kind of failure?

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Runaway regex search and replace require program reboot
« Reply #1 on: April 08, 2008, 10:16:14 PM »
It would be hard to define a timeout matching all use cases. But you can use <SHIFT-CTRL-ALT-F2> to break the currently running (e.g. search/replace) macro.
Here is some add. background information about breaking macros.
HS2

PouncingPanda

  • Community Member
  • Posts: 74
  • Hero Points: 2
Re: Runaway regex search and replace require program reboot
« Reply #2 on: April 09, 2008, 02:24:28 AM »
Thanks, that should do it.