note 105185 added to function.preg-match
| From: | mohammad40g at gmail dot com | Date: | Tue, 02 Aug 2011 04:23:57 +0000 |
| Subject: | note 105185 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182085@lists.php.net to get a copy of this message | ||
This sample is for checking persian character:
<?php
preg_match("/[\x{0600}-\x{06FF}\x]{1,32}/u", 'Ù
ØÙ
د');
?>
----
Server IP: 69.147.83.197
Probable Submitter: 2.146.244.162
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/105185
Del: integrated -- https://master.php.net/note/delete/105185/integrated
Del: useless -- https://master.php.net/note/delete/105185/useless
Del: bad code -- https://master.php.net/note/delete/105185/bad+code
Del: spam -- https://master.php.net/note/delete/105185/spam
Del: non-english -- https://master.php.net/note/delete/105185/non-english
Del: in docs -- https://master.php.net/note/delete/105185/in+docs
Del: other reasons-- https://master.php.net/note/delete/105185
Reject -- https://master.php.net/note/reject/105185
Search -- https://master.php.net/manage/user-notes.php