note 102868 added to regexp.reference.escape

From: Date: Fri, 11 Mar 2011 09:01:10 +0000
Subject: note 102868 added to regexp.reference.escape
Groups: php.notes 
Request: Send a blank email to php-notes+get-177786@lists.php.net to get a copy of this message
Beware that \b may not necessarily be Unicode aware: <?php echo preg_replace('/\\b/u', '#', 'gonzález'); ?> ... prints "#gonzález#" or "#gonz#á#lez#" depending on the platform. (It appears to work as expected in latest PHP versions.) ---- Server IP: 80.64.47.13 Probable Submitter: 80.37.14.51 ---- Manual Page -- http://www.php.net/manual/en/regexp.reference.escape.php Edit -- https://master.php.net/note/edit/102868 Del: integrated -- https://master.php.net/note/delete/102868/integrated Del: useless -- https://master.php.net/note/delete/102868/useless Del: bad code -- https://master.php.net/note/delete/102868/bad+code Del: spam -- https://master.php.net/note/delete/102868/spam Del: non-english -- https://master.php.net/note/delete/102868/non-english Del: in docs -- https://master.php.net/note/delete/102868/in+docs Del: other reasons-- https://master.php.net/note/delete/102868 Reject -- https://master.php.net/note/reject/102868 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177786) next »