Author Topic: SlickEdit 2013 (v18.0.1.2 32-bit) search using regular expressions hangs  (Read 1484 times)

dwgriffith

  • Senior Community Member
  • Posts: 111
  • Hero Points: 1
Hotfixes:
C:\Documents and Settings\357427\My Documents\My SlickEdit Config\18.0.1\hotfixes\hotfix_se1801_11_cumulative.zip (Revision: 11)
C:\Documents and Settings\357427\My Documents\My SlickEdit Config\18.0.1\hotfixes\hotfix_se1801_1_cumulative.zip (Revision: 1)
C:\Documents and Settings\357427\My Documents\My SlickEdit Config\18.0.1\hotfixes\hotfix_se1801_3_cumulative.zip (Revision: 3)
C:\Documents and Settings\357427\My Documents\My SlickEdit Config\18.0.1\hotfixes\hotfix_se1801_5_cumulative.zip (Revision: 5)
C:\Documents and Settings\357427\My Documents\My SlickEdit Config\18.0.1\hotfixes\hotfix_se1801_8_cumulative.zip (Revision: 8)


using the following search string
"^:b+//"
intended to be find beginning of line, 1 or more whirespace characters then line comment.
Search starts then the application becomes unresponsive. ESC does not stop it. Can't reopen seach doalog to stop it. I have to kill the application. If I try to close the search window, I get the end now dialog box to end the appllication.

If the search was for multi-file, I will see a list of lines found in the window between files but I can't interact with them.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1234
  • Hero Points: 124
Re: SlickEdit 2013 (v18.0.1.2 32-bit) search using regular expressions hangs
« Reply #1 on: November 14, 2013, 08:58:55 pm »
:b already includes a one or more modifier, adding the second one does cause matching to run very slowly.  This could be handled better in SlickEdit, we do hope to improve this in some future release.  For now, just be careful out there.

dwgriffith

  • Senior Community Member
  • Posts: 111
  • Hero Points: 1
Re: SlickEdit 2013 (v18.0.1.2 32-bit) search using regular expressions hangs
« Reply #2 on: November 14, 2013, 10:01:51 pm »
Removing the additional 1 or more operator seems to correct the tissue. Thanks!

I would recommend that you add the 1 or more in the description. My thought was the :b was a shortcut from specifying [\s,\t] instead of [\s,\t]*