static public function prepareXsdPatternForPcre($pattern)
    {
        // XML schema always implicitly anchors the entire regular expression
        // because there is no carret (^) nor dollar ($) signs.
        // see http://www.regular-expressions.info/xml.html
        $pattern = self::escapeSymbols($pattern, array('$', '^'));
        $pattern = self::pregAddDelimiter('^' . $pattern . '$');

        // XSD regexp always case-sensitive (nothing to do), dot matches white-spaces (use PCRE_DOTALL).
        $pattern .= 's';
        
        return $pattern;
    }
static public function prepareXsdPatternForPcre($pattern)
    {
        // XML schema always implicitly anchors the entire regular expression
        // because there is no carret (^) nor dollar ($) signs.
        // see http://www.regular-expressions.info/xml.html
        $pattern = self::escapeSymbols($pattern, array('$', '^'));
        $pattern = self::pregAddDelimiter('^' . $pattern . '$');

        // XSD regexp always case-sensitive (nothing to do), dot matches white-spaces (use PCRE_DOTALL).
        $pattern .= 's';
        
        return $pattern;
    }
static public function prepareXsdPatternForPcre ( $ pattern ) { // XML schema always implicitly anchors the entire regular expression // because there is no carret (^) nor dollar ($) signs. // see http://www.regular-expressions.info/xml.html $ pattern = self :: escapeSymbols ( $ pattern , array ( '$' , '^' ) ) ; $ pattern = self :: pregAddDelimiter ( '^' . $ pattern . '$' ) ; // XSD regexp always case-sensitive (nothing to do), dot matches white-spaces (use PCRE_DOTALL). $ pattern .= 's' ; return $ pattern ; }
Prepare an XSD Regular Expression pattern into a PCRE compliant one.

@return string
Prepare an XSD Regular Expression pattern into a PCRE compliant one .