On Thu, Dec 08, 2011 at 06:39:37AM -0800, David wrote: > I changed the \n's to \r's as recommended in the thread. I then > searched the file. I get a couple of successful hits using Find Next), > but then BBEdit would beachball, and have to be force quit. > > After a couple of these hangs, I dug up the hang log, and found a > zillion of these error messages > > 10 PCRE<unsigned short>::match(unsigned short const*, unsigned short > const*, int, PCRE<unsigned short>::match_data*, unsigned long, > PCRE<unsigned short>::eptrblock*, int) + 7409 (in BBEdit) [0x271c93] > > I sent the text file I was searching to Barebones support, along with > the Console hang file, but have heard nothing back. > > Is this a BBEdit problem, or a problem with the regex search?
Probably a combination of both. There may be an entry in your text file that almost matches, but not quite, and the regex engine does so much backtracking to try to match it that the stack blows up and BBEdit gets hung. Please send me your file. I can take a look at it tonight and try to improve the regex to avoid all the unnecessary backtracking. What version of BBEdit are you using, by the way? Ronald -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
