public function setVarRegexes(array $regexes)
    {
        foreach ($regexes as $varName => $regex) {
            $this->setVarRegex($varName, $regex);
        }
    }
public function setVarRegexes(array $regexes)
    {
        foreach ($regexes as $varName => $regex) {
            $this->setVarRegex($varName, $regex);
        }
    }
public function setVarRegexes ( array $ regexes ) { foreach ( $ regexes as $ varName => $ regex ) { $ this -> setVarRegex ( $ varName , $ regex ) ; } }
Sets regexes variables must satisfy

@param array $regexes The mapping of variable names to their regexes
Sets regexes variables must satisfy