note 19333 deleted from function.ereg by curt

From: Date: Tue, 06 Jul 2004 03:45:14 +0000
Subject: note 19333 deleted from function.ereg by curt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72669@lists.php.net to get a copy of this message
Note Submitter: JulienC@Psychologie-fr.com ---- A mistake will be to use [[:alpha:]] to detect a valid string for non US people. The reason is that all characters using circumflex (eg: â), tilde (ã), umlaut (ä), ring (å), grave (à) and acute (á) will be ignored! My solution is to change [[:alpha:]] to [A-Za-zÀ-ÖØ-öø-ÿ] Enjoy! /jc

« previous php.notes (#72669) next »