Sublime Forum

Bug?: Search and replace hangs when using wildcards

#1

I have a search string that looks like this:

 [code]\(".*"),[/code]

Which I want to replace with this:

[code]{"name": $1[/code]

If I hit “Replace” it works as expected. If I hit replace all, ST2 just hangs. (Linux 64-bit). System monitor reports 100% CPU usage for sublime.

Replacement is supposed to be performed over some 2000 lines of code that looks like this:

"Juneau", "AK"], "North Pole", "AK"], "Fairbanks", "AK"], "Talkeetna", "AK"], ....

0 Likes

#2

Seems to be fixed in dev build 2220

0 Likes