src/Genesis/API/Validators/Request/RegexValidator.php
protected function validate()
    {
        if (!CommonUtils::isRegexExpr($this->pattern)) {
            return false;
        }

        return (bool) preg_match(
            $this->pattern,
            $this->getRequestValue()
        );
    }
protected function validate()
    {
        if (!CommonUtils::isRegexExpr($this->pattern)) {
            return false;
        }

        return (bool) preg_match(
            $this->pattern,
            $this->getRequestValue()
        );
    }
protected function validate ( ) { if ( ! CommonUtils :: isRegexExpr ( $ this -> pattern ) ) { return false ; } return ( bool ) preg_match ( $ this -> pattern , $ this -> getRequestValue ( ) ) ; }
Execute field name validation

@return bool
Execute field name validation