DMS\Filter\Filters\RegExp::checkUnicodeSupport PHP Method

checkUnicodeSupport() public method

Verifies that Regular Expression functions support unicode
public checkUnicodeSupport ( ) : boolean
return boolean
    public function checkUnicodeSupport()
    {
        if (null === static::$unicodeEnabled) {
            static::$unicodeEnabled = @preg_match('/\\pL/u', 'a') ? true : false;
        }
        return static::$unicodeEnabled;
    }