std::tr1::regex_constants Namespace Reference
[Regular Expressions]

Typedefs

Enumerations

Functions

Variables


Typedef Documentation

typedef std::bitset<_S_match_flag_last> std::tr1::regex_constants::match_flag_type

This is a bitmask type indicating regex 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.

The match_flag_type is implementation defined but it is valid to perform bitwise operations on these values and expect the right thing to happen.

Definition at line 180 of file tr1/regex.

typedef unsigned int std::tr1::regex_constants::syntax_option_type

This is a bitmask type indicating how to interpret the regex.

The syntax_option_type is implementation defined but it is valid to perform bitwise operations on these values and expect the right thing to happen.

A valid value of type syntax_option_type shall have exactly one of the elements ECMAScript, basic, extended, awk, grep, egrep set.

Definition at line 88 of file tr1/regex.


Function Documentation

static const error_type std::tr1::regex_constants::error_backref ( _S_error_backref   )  [static]

The expression contained an invalid back reference.

static const error_type std::tr1::regex_constants::error_badbrace ( _S_error_badbrace   )  [static]

The expression contained an invalid range in a {} expression.

static const error_type std::tr1::regex_constants::error_badrepeat ( _S_error_badrepeat   )  [static]

One of *?+{ was not preceded by a valid regular expression.

static const error_type std::tr1::regex_constants::error_brace ( _S_error_brace   )  [static]

The expression contained mismatched { and }.

static const error_type std::tr1::regex_constants::error_brack ( _S_error_brack   )  [static]

The expression contained mismatched [ and ].

static const error_type std::tr1::regex_constants::error_collate ( _S_error_collate   )  [static]

The expression contained an invalid collating element name.

static const error_type std::tr1::regex_constants::error_complexity ( _S_error_complexity   )  [static]

exceeded a pre-set level.

static const error_type std::tr1::regex_constants::error_ctype ( _S_error_ctype   )  [static]

The expression contained an invalid character class name.

static const error_type std::tr1::regex_constants::error_escape ( _S_error_escape   )  [static]

escape.

static const error_type std::tr1::regex_constants::error_paren ( _S_error_paren   )  [static]

The expression contained mismatched ( and ).

static const error_type std::tr1::regex_constants::error_range ( _S_error_range   )  [static]

such as [b-a] in most encodings.

static const error_type std::tr1::regex_constants::error_space ( _S_error_space   )  [static]

finite state machine.

static const error_type std::tr1::regex_constants::error_stack ( _S_error_stack   )  [static]

regular expression could match the specified character sequence.


Variable Documentation

const syntax_option_type std::tr1::regex_constants::awk [static]

one, two, or three octal digits).

Definition at line 136 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::basic [static]

Portable Operating System Interface (POSIX), IEEE Standard 1003.1-2001].

Definition at line 122 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::collate [static]

sensitive.

Definition at line 107 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::ECMAScript [static]

POSIX regular expression grammar.

Definition at line 115 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::egrep [static]

extended, except that newlines are treated as whitespace.

Definition at line 148 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::extended [static]

Section 9, Regular Expressions.

Definition at line 128 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::format_first_only [static]

occurrence of the regular expression shall be replaced.

Definition at line 254 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::format_no_copy [static]

expression shall not be copied to the output string.

Definition at line 250 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::format_sed [static]

Operating System Interface (POSIX), IEEE Standard 1003.1-2001].

Definition at line 245 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::grep [static]

as whitespace.

Definition at line 142 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::icase [static]

sequence shall be performed without regard to case.

Definition at line 92 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_any [static]

result.

Definition at line 204 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_continuous [static]

The expression only matchs a sub-sequence that begins at first .

Definition at line 210 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_not_bol [static]

expression shall not match [first, first).

Definition at line 187 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_not_bow [static]

[first,first).

Definition at line 196 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_not_eol [static]

expression shall not match [last, last).

Definition at line 192 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_not_eow [static]

[last,last).

Definition at line 200 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_not_null [static]

The expression does not match an empty sequence.

Definition at line 207 of file tr1/regex.

const match_flag_type std::tr1::regex_constants::match_prev_avail [static]

expression algorithms 7.11 and iterators 7.12.

Definition at line 215 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::nosubs [static]

supplied match_results structure.

Definition at line 97 of file tr1/regex.

const syntax_option_type std::tr1::regex_constants::optimize [static]

it has no detectable effect on the program output.

Definition at line 103 of file tr1/regex.


Generated on Sun Mar 18 01:42:30 2007 for libstdc++ by  doxygen 1.5.1