note 112770 added to function.preg-match

From: Date: Sun, 21 Jul 2013 21:07:55 +0000
Subject: note 112770 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-195697@lists.php.net to get a copy of this message
Attention! PREG_OFFSET_CAPTURE not UTF-8 aware when using u modifier and it's not a but, it's a feature: https://bugs.php.net/bug.php?id=37391 Possible workaround: Use mb_strpos to get the correct offset, instead of the flag. UTF-8 support would be nice. ---- Server IP: 192.35.244.50 Probable Submitter: 194.118.224.83 ---- Manual Page -- http://php.net/manual/en/function.preg-match.php Edit -- https://master.php.net/note/edit/112770 Del: integrated -- https://master.php.net/note/delete/112770/integrated Del: useless -- https://master.php.net/note/delete/112770/useless Del: bad code -- https://master.php.net/note/delete/112770/bad+code Del: spam -- https://master.php.net/note/delete/112770/spam Del: non-english -- https://master.php.net/note/delete/112770/non-english Del: in docs -- https://master.php.net/note/delete/112770/in+docs Del: other reasons-- https://master.php.net/note/delete/112770 Reject -- https://master.php.net/note/reject/112770 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195697) next »