note 115050 added to ref.mbstring
| From: | mattr at telebody dot com | Date: | Mon, 19 May 2014 07:29:09 +0000 |
| Subject: | note 115050 added to ref.mbstring | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199561@lists.php.net to get a copy of this message | ||
A brief note on Daniel Rhodes' mb_punctuation_trim().
The regular expression modifier u does not mean ungreedy, rather it means the pattern is in UTF-8
encoding. Instead the U modifier should be used to get ungreedy behavior. (I have not otherwise
tested his code.)
See http://php.net/manual/en/reference.pcre.pattern.modifiers.php
----
Server IP: 72.52.91.14
Probable Submitter: 182.249.242.22
----
Manual Page -- http://php.net/manual/en/ref.mbstring.php
Edit -- https://master.php.net/note/edit/115050
Del: integrated -- https://master.php.net/note/delete/115050/integrated
Del: useless -- https://master.php.net/note/delete/115050/useless
Del: bad code -- https://master.php.net/note/delete/115050/bad+code
Del: spam -- https://master.php.net/note/delete/115050/spam
Del: non-english -- https://master.php.net/note/delete/115050/non-english
Del: in docs -- https://master.php.net/note/delete/115050/in+docs
Del: other reasons-- https://master.php.net/note/delete/115050
Reject -- https://master.php.net/note/reject/115050
Search -- https://master.php.net/manage/user-notes.php