src/ItePHP/Component/Form/InputField.php
public function setPattern($pattern){
		$this->setTag('pattern',$pattern);
		if($this->getValidator()){
			$this->getValidator()->setOption('pattern',$pattern);
		}
	}
public function setPattern($pattern){
		$this->setTag('pattern',$pattern);
		if($this->getValidator()){
			$this->getValidator()->setOption('pattern',$pattern);
		}
	}
public function setPattern ( $ pattern ) { $ this -> setTag ( 'pattern' , $ pattern ) ; if ( $ this -> getValidator ( ) ) { $ this -> getValidator ( ) -> setOption ( 'pattern' , $ pattern ) ; } }
Set html tag pattern

@param string $pattern - value of tag pattern (regular expression)
Set html tag pattern