|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-11-20 19:26 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 15:00:01 2025 UTC |
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