Re: Unicode Character Classes

From: Date: Mon, 30 Aug 2004 14:54:10 +0000
Subject: Re: Unicode Character Classes
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-755@lists.php.net to get a copy of this message
Woops, By "this function," I meant the mb_ereg function. -Ezra "Ezra Gilbert" <egilbert@avaya.com> wrote in message news:20040830143542.77934.qmail@pb1.pair.com... > Does this function (which overloads the POSIX ereg function) support the > unicode character class tables? Meaning, do the POSIX character classes > (alpha, digit, punct) map to the correct Unicode character classes (Ll, Lu, > Lt, and Lo etc.)? > > If not, is there any functionality in the mbstring extension for testing > unicode character classes? (This would be similar to the \pPROPERTY option > in Perl regex). > > Again, if not, how are people doing form validation on UTF-8 characters? I > am currently planning to run the perl command (from my php page) because it > seems perl has more support for unicode than PHP/mbstring does. > > Thanks, > Ezra

« previous php.i18n (#755) next »