Re: [PHP-I18N] Check if PCRE has UTF-8 support compiled in

2007-06-28 Thread Andries Seutens
27, 2007 6:36 PM Subject: [PHP-I18N] Check if PCRE has UTF-8 support compiled in Dear all, In the Zend Framework we have written a filter to filter anything but alpha an numeric characters from a string. The regular expression for this filter looks like so: $result = preg_replace('/[^

Re: [PHP-I18N] Check if PCRE has UTF-8 support compiled in

2007-06-27 Thread Nuno Lopes
ssage - From: "Andries Seutens" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 27, 2007 6:36 PM Subject: [PHP-I18N] Check if PCRE has UTF-8 support compiled in Dear all, In the Zend Framework we have written a filter to filter anything but alpha an numeric characters from a st

[PHP-I18N] Check if PCRE has UTF-8 support compiled in

2007-06-27 Thread Andries Seutens
Dear all, In the Zend Framework we have written a filter to filter anything but alpha an numeric characters from a string. The regular expression for this filter looks like so: $result = preg_replace('/[^\p{L}\p{N}\s]/u', '', '!!testing123!!'); Apperently, on some systems like RHEL however, th