note 30834 deleted from function.preg-match by tularis
| From: | tularis@php.net | Date: | Thu, 03 Jul 2008 21:40:33 +0000 |
| Subject: | note 30834 deleted from function.preg-match by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141153@lists.php.net to get a copy of this message | ||
Note Submitter: bjorn at kulturkonsult dot no
----
I you want to match all scandinavian characters (æÆøØåÅöÖäÄ) in addition to those matched
by \w, you might want to use this regexp:
/^[\w\xe6\xc6\xf8\xd8\xe5\xc5\xf6\xd6\xe4\xc4]+$/
Remember that \w respects the current locale used in PCRE's character tables.