### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.13.1 documentation »
- API Reference »

# pandas.core.strings.StringMethods.match

`StringMethods.``match`(pat, flags=0, **kwargs)

  Deprecated: Find groups in each string using passed regular expression. If as_indexer=True, determine if each string matches a regular expression.

  Parameters : | pat : string Character sequence or regular expression case : boolean, default True If True, case sensitive flags : int, default 0 (no flags) re module flags, e.g. re.IGNORECASE na : default NaN, fill value for missing values. as_indexer : False, by default, gives deprecated behavior better achieved using str_extract. True return boolean indexer.
  Returns : | Series of boolean values if as_indexer=True Series of tuples if as_indexer=False, default but deprecated

  See also

  `contains`
    analagous, but less strict, relying on re.search instead of re.match
  `extract`
    now preferred to the deprecated usage of match (as_indexer=False)

  Notes

  To extract matched groups, which is the deprecated behavior of match, use str.extract.

### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.13.1 documentation »
- API Reference »