Unicode Character Classes
| From: | Ezra Gilbert | Date: | Mon, 30 Aug 2004 14:35:46 +0000 |
| Subject: | Unicode Character Classes | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-754@lists.php.net to get a copy of this message | ||
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