src/Behat/Behat/Hook/Call/RuntimeFeatureHook.php
private function isMatchNameFilter(FeatureNode $feature, $filterString)
    {
        $filter = new NameFilter($filterString);

        return $filter->isFeatureMatch($feature);
    }
private function isMatchNameFilter(FeatureNode $feature, $filterString)
    {
        $filter = new NameFilter($filterString);

        return $filter->isFeatureMatch($feature);
    }
private function isMatchNameFilter ( FeatureNode $ feature , $ filterString ) { $ filter = new NameFilter ( $ filterString ) ; return $ filter -> isFeatureMatch ( $ feature ) ; }
Checks if feature matches name filter.

@param FeatureNode $feature
@param string      $filterString

@return Boolean
Checks if feature matches name filter .