original_string: private function runFilter($filter, $parameter)
      {
          if (!strstr($filter, '(') && !strstr($filter, ')')) {
              if (!$filter = $this->getFilter($filter)) {
                  return false;
              }
          }
  
          return preg_match('@' . $filter . '@si', $parameter) ?: false;
      }
code: private function runFilter($filter, $parameter)
      {
          if (!strstr($filter, '(') && !strstr($filter, ')')) {
              if (!$filter = $this->getFilter($filter)) {
                  return false;
              }
          }
  
          return preg_match('@' . $filter . '@si', $parameter) ?: false;
      }
code_tokens: private function runFilter ( $ filter , $ parameter ) { if ( ! strstr ( $ filter , '(' ) && ! strstr ( $ filter , ')' ) ) { if ( ! $ filter = $ this -> getFilter ( $ filter ) ) { return false ; } } return preg_match ( '@' . $ filter . '@si' , $ parameter ) ? : false ; }
docstring: execute a filter
  
  @param string $filter
  @param string $parameter
  @return bool|int
docstring_tokens: execute a filter