parameters: (requestContext, seriesList, pattern)
return_statement: return [s for s in seriesList if regex.search(s.name)]
docstring: Takes a metric or a wildcard seriesList, followed by a regular expression
    in double quotes.  Excludes metrics that don't match the regular expression.
  
    Example:
  
    .. code-block:: none
  
      &target=grep(servers*.instance*.threads.busy,"server02")
docstring_summary: Takes a metric or a wildcard seriesList, followed by a regular expression
    in double quotes.  Excludes metrics that don't match the regular expression.
docstring_tokens: Takes a metric or a wildcard seriesList followed by a regular expression in double quotes . Excludes metrics that don t match the regular expression .
function: def grep(requestContext, seriesList, pattern):
    """
    Takes a metric or a wildcard seriesList, followed by a regular expression
    in double quotes.  Excludes metrics that don't match the regular expression.
  
    Example:
  
    .. code-block:: none
  
      &target=grep(servers*.instance*.threads.busy,"server02")
    """
    regex = re.compile(pattern)
    return [s for s in seriesList if regex.search(s.name)]
function_tokens: def grep ( requestContext , seriesList , pattern ) : regex = re . compile ( pattern ) return [ s for s in seriesList if regex . search ( s . name ) ]