ID:               26330
 Updated by:       [EMAIL PROTECTED]
 Reported By:      space at outthere dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         PCRE related
 Operating System: win/linux
 PHP Version:      4.3.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

\b is locale dependant and I suspect the locales on your Win32 and
Linux servers differ, hence the different behaviour.


Previous Comments:
------------------------------------------------------------------------

[2003-11-20 08:19:19] space at outthere dot net

Description:
------------
running a regexp in windows and later on linux yeilded different
results: 

$new = preg_replace("/\b�sterreich\b/i", "A", "Germany �sterreich
France");

will replace on windows systems but will fail on unix boxes. 





Reproduce code:
---------------
$new = preg_replace("/\b�sterreich\b/i", "A", "Germany �sterreich
France");
print $new;




Expected result:
----------------
Germany A France


Actual result:
--------------
win: 
> Germany A France
linux:
> Germany �sterreich France



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26330&edit=1

Reply via email to