Author Topic: Runaway regex search and replace require program reboot  (Read 2135 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: 2725
  • Hero Points: 281
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.