Re: Unicode Character Classes
"Ezra Gilbert" <[email protected]>
| Newsgroups | gmane.comp.php.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Woops, By "this function," I meant the mb_ereg function. -Ezra "Ezra Gilbert" <[email protected]> wrote in message news:[email protected]... > 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 -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php