protected function matchesAny($expr, array $regexps)
	{
		foreach ($regexps as $regexp)
		{
			if (preg_match($regexp, $expr))
			{
				return true;
			}
		}

		return false;
	}
protected function matchesAny($expr, array $regexps)
	{
		foreach ($regexps as $regexp)
		{
			if (preg_match($regexp, $expr))
			{
				return true;
			}
		}

		return false;
	}
protected function matchesAny ( $ expr , array $ regexps ) { foreach ( $ regexps as $ regexp ) { if ( preg_match ( $ regexp , $ expr ) ) { return true ; } } return false ; }
Test whether given expression matches any of the given regexps

@param  string   $expr
@param  string[] $regexps
@return bool
Test whether given expression matches any of the given regexps