std::basic_regex
Aus cppreference.com
[] |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<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 regulrer Ausdrcke . 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.
You can help to correct and verify the translation. Click here for instructions.
Mehrere Spezialisierungen fr gemeinsame Charakter-Typen stehen zur Verfgung:
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.
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) | |
zerstrt 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) | |
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) | |
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) | |
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-Ausdrcke innerhalb des regulren 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) | |
| returns the syntax flags (ffentliche Elementfunktion) | |
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) | |
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) | |
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) | |
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 Wertebereichsausdrcke 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 fr regulre Ausdrcke
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 fr regulre Ausdrcke
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
(C++11) |
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) |