Share via


<regex> Members

Reference

Classes

basic_regex

Wraps a regular expression.

match_results

Holds a sequence of submatches.

regex_constants

Holds assorted constants.

regex_error

Reports a bad regular expression.

regex_iterator

Iterates through match results.

regex_traits

Describes characteristics of elements for matching.

regex_traits<char>

Describes characteristics of char for matching.

regex_traits<wchar_t>

Describes characteristics of wchar_t for matching.

regex_token_iterator

Iterates through submatches.

sub_match

Describes a submatch.

Type Definitions

cmatch

Type definition for char match_results.

cregex_iterator

Type definition for char regex_iterator.

cregex_token_iterator

Type definition for char regex_token_iterator.

csub_match

Type definition for char sub_match.

regex

Type definition for char basic_regex.

smatch

Type definition for string match_results.

sregex_iterator

Type definition for string regex_iterator.

sregex_token_iterator

Type definition for string regex_token_iterator.

ssub_match

Type definition for string sub_match.

wcmatch

Type definition for wchar_t match_results.

wcregex_iterator

Type definition for wchar_t regex_iterator.

wcregex_token_iterator

Type definition for wchar_t regex_token_iterator.

wcsub_match

Type definition for wchar_t sub_match.

wregex

Type definition for wchar_t basic_regex.

wsmatch

Type definition for wstring match_results.

wsregex_iterator

Type definition for wstring regex_iterator.

wsregex_token_iterator

Type definition for wstring regex_token_iterator.

wssub_match

Type definition for wstring sub_match.

Functions

regex_match

Exactly matches a regular expression.

regex_replace

Replaces matched regular expressions.

regex_search

Searches for a regular expression match.

swap

Swaps basic_regex or match_results objects.

Operators

operator==

Comparison of various objects, equal.

operator!=

Comparison of various objects, not equal.

operator<

Comparison of various objects, less than.

operator<=

Comparison of various objects, less than or equal.

operator>

Comparison of various objects, greater than.

operator>=

Comparison of various objects, greater than or equal.

operator<<

Inserts a sub_match in a stream.

See Also

Reference

<regex>