public function matchPath($regexp)
	{
		if (substr($regexp, 0, 1) == '@') {
			$this->route_name = substr($regexp, 1);
		} else {
			parent::matchPath($regexp);
		}
	}
public function matchPath($regexp)
	{
		if (substr($regexp, 0, 1) == '@') {
			$this->route_name = substr($regexp, 1);
		} else {
			parent::matchPath($regexp);
		}
	}
public function matchPath ( $ regexp ) { if ( substr ( $ regexp , 0 , 1 ) == '@' ) { $ this -> route_name = substr ( $ regexp , 1 ) ; } else { parent :: matchPath ( $ regexp ) ; } }
Adds a check for the route name.

@param string $regexp A Regexp
Adds a check for the route name .