/** * Class constructor * * Checks if PCRE is compiled with UTF-8 and Unicode support * * @return void */ public function __construct() { if (null === self::$_unicodeEnabled) { self::$_unicodeEnabled = @preg_match('/\\pL/u', 'a') ? true : false; } }