private function MatchReg($tok){

		if( preg_match($tok, $this->input, $match, 0, $this->pos) ){
			$this->skipWhitespace(strlen($match[0]));
			return $match;
		}
	}
private function MatchReg($tok){

		if( preg_match($tok, $this->input, $match, 0, $this->pos) ){
			$this->skipWhitespace(strlen($match[0]));
			return $match;
		}
	}
private function MatchReg ( $ tok ) { if ( preg_match ( $ tok , $ this -> input , $ match , 0 , $ this -> pos ) ) { $ this -> skipWhitespace ( strlen ( $ match [ 0 ] ) ) ; return $ match ; } }
Match a regexp from the current start point
Match a regexp from the current start point