Home Download Buy Blog Forum Support

Another Regular Expression Crash (Builds 2085-86)

Another Regular Expression Crash (Builds 2085-86)

Postby joechrysler on Mon Jul 25, 2011 8:21 pm

I found a regex that crashes sublime consistently when run under "Find in Folder" but works perfectly during normal find in file searches.

(class|id)="(\w+)_([^\s]+)*"
(class|id)="(\w+)_([^\s]+)+" also causes the crash.

Update: it appears that the problem was with using a + in a matching group that executes + or * times.
(class|id)="(\w+)_([^\s])*" works fine for both find in folder and find in file searches.
joechrysler
 
Posts: 4
Joined: Mon Jul 25, 2011 8:18 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 32 guests