mIRC Home    About    Download    Register    News    Help

Topic Options
#148315 - 03/05/06 07:29 PM Expression crashing mIRC
Mpdreamz Offline
Hoopy frood

Registered: 27/04/04
Posts: 759
Loc: Arnhem, The Netherlands
Im sure this is due to it being a crappy expression since it falls into a never ending loop but it might be nice if it didnt cause mIRC to die , theres not even a Send/Dont Send dialog.

//echo -a $regex(word word word,/(\b\w\w\w\w.*?)??(\b\1\b)??(?R)/g)

#148316 - 03/05/06 08:43 PM Re: Expression crashing mIRC
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
I guess that's most likely a bug in PCRE. I don't know any other languages that use it so I can't check but maybe someone who does could.

#148317 - 25/05/06 03:29 PM Re: Expression crashing mIRC
Khaled Offline

Planetary brain

Registered: 04/12/02
Posts: 4420
Loc: London, UK
Thanks for the report. This is actually due to PCRE running out of stack space due to infinite recursion. The latest version of PCRE has an option to limit recursion depth, I'll see if I can use that to prevent the problem.