note 30834 added to function.preg-match

From: Date: Mon, 31 Mar 2003 23:56:53 +0000
Subject: note 30834 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-46031@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.preg-match.php http://master.php.net/manage/user-notes.php?action=edit+30834 http://master.php.net/manage/user-notes.php?action=delete+30834 http://master.php.net/manage/user-notes.php?action=reject+30834

« previous php.notes (#46031) next »