protected function getNamedParameterRegex($name)
    {
        if (mb_substr($name, 0, 1) == ':') {
            $name = mb_substr($name, 1);
        }

        return $this->wrapRegex($this->notInsideQuotes('\:' . preg_quote($name), false));
    }
protected function getNamedParameterRegex($name)
    {
        if (mb_substr($name, 0, 1) == ':') {
            $name = mb_substr($name, 1);
        }

        return $this->wrapRegex($this->notInsideQuotes('\:' . preg_quote($name), false));
    }
protected function getNamedParameterRegex ( $ name ) { if ( mb_substr ( $ name , 0 , 1 ) == ':' ) { $ name = mb_substr ( $ name , 1 ) ; } return $ this -> wrapRegex ( $ this -> notInsideQuotes ( '\:' . preg_quote ( $ name ) , false ) ) ; }
Get regex to be used for named parameter with given name.

@param string $name

@return string
Get regex to be used for named parameter with given name .