[PHP] Re: PCRE regex result is different between Linux & Windows.

2008-11-12 Thread ClapClap
ClapClap <2000ans free.fr> writes: > > ClapClap <2000ans free.fr> writes: > > > My versions of PCRE : > > - Linux 7.4 2007-09-21 (PHP 5.2.4-2ubuntu5.3) > > - Windows XP 7.2 2007-06-19 (PHP 5.2.4) > > > > And : > - Windows 2000

[PHP] Re: PCRE regex result is different between Linux & Windows.

2008-11-12 Thread ClapClap
ClapClap <2000ans free.fr> writes: > My versions of PCRE : > - Linux 7.4 2007-09-21 (PHP 5.2.4-2ubuntu5.3) > - Windows XP 7.2 2007-06-19 (PHP 5.2.4) > And : - Windows 2000 7.6 2008-01-28 (PHP 5.2.6) It works fine under Windows with PCRE 7.2 & 7.6. I do not know why

[PHP] Re: PCRE regex result is different between Linux & Windows.

2008-11-08 Thread ClapClap
Lupus Michaelis a écrit : ClapClap a écrit : For the PCRE version, I really can not tell you which one I use... Where can I see that ? In the the output from phpinfo function. Thanks. My versions of PCRE : - Linux 7.4 2007-09-21 (PHP 5.2.4-2ubuntu5.3) - Windows XP 7.2 2007-06-19 (PHP

[PHP] Re: PCRE regex result is different between Linux & Windows.

2008-11-07 Thread ClapClap
Jochem Maas a écrit : >> >> [I precede you, sorry for language mistakes...] > > php or english? :-) > ohhh... sh.. ! I think I speak PHP better than english (silly, not ?). > > okay, are you using the same PHP version on both machines? > anything in the php.ini's that differs? > The same, not p

[PHP] PCRE regex result is different between Linux & Windows.

2008-11-07 Thread ClapClap
Hi, [I precede you, sorry for language mistakes...] I have done a pretty regex which can normally strip all the empties HTML tags. With PHP v5.2.4, under Windows XP, preg_replace() gives me 90 matches (which is correct) while under linux it stagnate to 54. Let me introduce this regex : $patt