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('/[^
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
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