public function match_main($text, $pattern, $loc = 0) { return $this->match->main($text, $pattern, $loc); }