regex_constants.h File Reference

Go to the source code of this file.

## Namespaces

| std
| std::regex_constants

## 5.1 Regular Expression Syntax Options

enum | std::regex_constants::__syntax_option { _S_icase, _S_nosubs, _S_optimize, _S_collate, _S_ECMAScript, _S_basic, _S_extended, _S_awk, _S_grep, _S_egrep, _S_polynomial, _S_syntax_last }
enum | std::regex_constants::syntax_option_type : unsigned int
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::icase
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::nosubs
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::optimize
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::collate
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::ECMAScript
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::basic
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::extended
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::awk
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::grep
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::egrep
_GLIBCXX17_INLINE constexpr syntax_option_type | std::regex_constants::__polynomial
constexpr syntax_option_type | std::regex_constants::operator & (syntax_option_type __a, syntax_option_type __b)
constexpr syntax_option_type | std::regex_constants::operator| (syntax_option_type __a, syntax_option_type __b)
constexpr syntax_option_type | std::regex_constants::operator^ (syntax_option_type __a, syntax_option_type __b)
constexpr syntax_option_type | std::regex_constants::operator~ (syntax_option_type __a)
syntax_option_type & | std::regex_constants::operator &= (syntax_option_type &__a, syntax_option_type __b)
syntax_option_type & | std::regex_constants::operator|= (syntax_option_type &__a, syntax_option_type __b)
syntax_option_type & | std::regex_constants::operator^= (syntax_option_type &__a, syntax_option_type __b)

## 5.2 Matching Rules

Matching a regular expression against a sequence of characters [first, last) proceeds according to the rules of the grammar specified for the regular expression object, modified according to the effects listed below for any bitmask elements set.
enum | std::regex_constants::__match_flag { _S_not_bol, _S_not_eol, _S_not_bow, _S_not_eow, _S_any, _S_not_null, _S_continuous, _S_prev_avail, _S_sed, _S_no_copy, _S_first_only, _S_match_flag_last }
enum | std::regex_constants::match_flag_type : unsigned int
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_default
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_not_bol
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_not_eol
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_not_bow
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_not_eow
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_any
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_not_null
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_continuous
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::match_prev_avail
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::format_default
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::format_sed
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::format_no_copy
_GLIBCXX17_INLINE constexpr match_flag_type | std::regex_constants::format_first_only
constexpr match_flag_type | std::regex_constants::operator & (match_flag_type __a, match_flag_type __b)
constexpr match_flag_type | std::regex_constants::operator| (match_flag_type __a, match_flag_type __b)
constexpr match_flag_type | std::regex_constants::operator^ (match_flag_type __a, match_flag_type __b)
constexpr match_flag_type | std::regex_constants::operator~ (match_flag_type __a)
match_flag_type & | std::regex_constants::operator &= (match_flag_type &__a, match_flag_type __b)
match_flag_type & | std::regex_constants::operator|= (match_flag_type &__a, match_flag_type __b)
match_flag_type & | std::regex_constants::operator^= (match_flag_type &__a, match_flag_type __b)

## Detailed Description

Constant definitions for the std regex library.

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <regex>.

Definition in file regex_constants.h.