libstdc++
regex_constants.h File Reference

Go to the source code of this file.

Namespaces

namespace  std
 
namespace  std::regex_constants
 

5.1 Regular Expression Syntax Options

constexpr syntax_option_type std::regex_constants::__multiline
 
constexpr syntax_option_type std::regex_constants::__polynomial
 
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_multiline
}
 
constexpr syntax_option_type std::regex_constants::awk
 
constexpr syntax_option_type std::regex_constants::basic
 
constexpr syntax_option_type std::regex_constants::collate
 
constexpr syntax_option_type std::regex_constants::ECMAScript
 
constexpr syntax_option_type std::regex_constants::egrep
 
constexpr syntax_option_type std::regex_constants::extended
 
constexpr syntax_option_type std::regex_constants::grep
 
constexpr syntax_option_type std::regex_constants::icase
 
constexpr syntax_option_type std::regex_constants::multiline
 
constexpr syntax_option_type std::regex_constants::nosubs
 
constexpr syntax_option_type std::regex_constants::operator& (syntax_option_type __a, syntax_option_type __b)
 
syntax_option_typestd::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)
 
syntax_option_typestd::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)
 
syntax_option_typestd::regex_constants::operator|= (syntax_option_type &__a, syntax_option_type __b)
 
constexpr syntax_option_type std::regex_constants::operator~ (syntax_option_type __a)
 
constexpr syntax_option_type std::regex_constants::optimize
 
enum  std::regex_constants::syntax_option_type : unsigned int
 

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
}
 
constexpr match_flag_type std::regex_constants::format_default
 
constexpr match_flag_type std::regex_constants::format_first_only
 
constexpr match_flag_type std::regex_constants::format_no_copy
 
constexpr match_flag_type std::regex_constants::format_sed
 
constexpr match_flag_type std::regex_constants::match_any
 
constexpr match_flag_type std::regex_constants::match_continuous
 
constexpr match_flag_type std::regex_constants::match_default
 
enum  std::regex_constants::match_flag_type : unsigned int
 
constexpr match_flag_type std::regex_constants::match_not_bol
 
constexpr match_flag_type std::regex_constants::match_not_bow
 
constexpr match_flag_type std::regex_constants::match_not_eol
 
constexpr match_flag_type std::regex_constants::match_not_eow
 
constexpr match_flag_type std::regex_constants::match_not_null
 
constexpr match_flag_type std::regex_constants::match_prev_avail
 
constexpr match_flag_type std::regex_constants::operator& (match_flag_type __a, match_flag_type __b)
 
match_flag_typestd::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)
 
match_flag_typestd::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)
 
match_flag_typestd::regex_constants::operator|= (match_flag_type &__a, match_flag_type __b)
 
constexpr match_flag_type std::regex_constants::operator~ (match_flag_type __a)
 

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.