◐ Shell
clean mode source ↗

std::basic_regex – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<regex>

template < class CharT = char, class Traits = std::regex_traits<CharT> > class basic_regex;

(seit C++11)

Das Klassen-Template basic_regex bietet einen allgemeinen Rahmen zur Aufnahme regulärer Ausdrücke .

Original:

The class template basic_regex provides a general framework for holding regular expressions.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Mehrere Spezialisierungen für gemeinsame Charakter-Typen stehen zur Verfügung:

Original:

Several specializations for common character types are provided:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

definiert in Header <regex>

Type

Original:

Type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
regex basic_regex<char>
wregex basic_regex<wchar_t>

Mitglied Typen

Mitglied Typ

Original:

Member type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
value_type CharT
traits_type Traits
string_type Traits::string_type
locale_type Traits::locale_type
flag_type std::regex_constants::syntax_option_type

Member-Funktionen

constructs the regex object
(öffentliche Elementfunktion) [edit]

zerstört sich die Regex-Objekt

Original:

destructs the regex object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

ordnet die Inhalte

Original:

assigns the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

ordnet die Inhalte

Original:

assigns the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Beobachter

Original:

Observers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

gibt die Anzahl der markierten Sub-Ausdrücke innerhalb des regulären Ausdrucks

Original:

returns the number of marked sub-expressions within the regular expression

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]
returns the syntax flags
(öffentliche Elementfunktion) [edit]

Locale

Original:

Locale

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

erhalten Informationen über die Sprachumgebung

Original:

get locale information

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

gesetzte Gebietsschema Informationen

Original:

set locale information

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Modifiers

Original:

Modifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

tauscht die Inhalte

Original:

swaps the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Konstanten

Original:

Constants

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Value

Original:

Value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Effect(s)
icase

ignoriert Fall, wenn übereinstimmenden Zeichen

Original:

ignores case when matching characters

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

nosubs

speichert keine sub-Ausdruck übereinstimmt

Original:

does not store sub-expression matches

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

optimize

schnellere Anpassung, langsamer Aufbau

Original:

faster matching, slower construction

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

collate

macht Wertebereichsausdrücke locale-sensitive

Original:

makes range expressions locale-sensitive

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

ECMAScript

verwendet ein ECMA-262 (Perl 5) Syntax

Original:

uses an ECMA-262 (Perl 5) syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

basic

verwendet eine POSIX grundlegende Syntax für reguläre Ausdrücke

Original:

uses a POSIX basic regular expression syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

extended

verwendet eine POSIX erweiterte Syntax für reguläre Ausdrücke

Original:

uses a POSIX extended regular expression syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

awk

verwendet eine awk-kompatiblen Syntax

Original:

uses an awk-compatible syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

grep

verwendet eine grep-kompatiblen Syntax

Original:

uses a grep-compatible syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

egrep

verwendet eine erweiterten grep-kompatiblen Syntax

Original:

uses an extended grep-compatible syntax

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Non-Member-Funktionen

spezialisiert die std::swap Algorithmus

Original:

specializes the std::swap algorithm

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]