note 83393 deleted from function.preg-match by tularis
| From: | tularis@php.net | Date: | Thu, 03 Jul 2008 21:36:02 +0000 |
| Subject: | note 83393 deleted from function.preg-match by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141135@lists.php.net to get a copy of this message | ||
Note Submitter: ben at onshop dot co dot uk
----
Here is a way to extend your expression to handle various variants on the alphabet such as accents,
graves, umlauts etc.
print preg_match('/^[\%\w\Ã-Ã\Ã-ö\ø-ÿ]+\z/', 'Siobhán'); //
1