Re: [PHP-DEV] PCRE and recursion: NO_RECURSE flag

2008-08-07 Thread Arnaud Le Blanc
nk so.. > If you need to match large amounts of data, just increase the stack size. > ulimit is your friend :) > > Nuno > > > - Original Message - > From: "Arnaud Le Blanc" <[EMAIL PROTECTED]> > To: > Sent: Thursday, August 07, 2008 1:24 PM >

Re: [PHP-DEV] PCRE and recursion: NO_RECURSE flag

2008-08-07 Thread Nuno Lopes
: Thursday, August 07, 2008 1:24 PM Subject: [PHP-DEV] PCRE and recursion: NO_RECURSE flag Hi, PCRE can be highly recursive [1] and this can cause segmentation faults [2]. This is a known problem and the pcre ini settings avoids the segfaults, but the execution of the expression will fai

[PHP-DEV] PCRE and recursion: NO_RECURSE flag

2008-08-07 Thread Arnaud Le Blanc
Hi, PCRE can be highly recursive [1] and this can cause segmentation faults [2]. This is a known problem and the pcre ini settings avoids the segfaults, but the execution of the expression will fail anyway. PCRE has a NO_RECURSE flag which makes the match() internal function no recursive and a