std::basic_regex::basic_regex – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(1) | (seit C++11) |
|
|
(2) | (seit C++11) |
|
|
(3) | (seit C++11) |
|
|
(4) | (seit C++11) |
|
|
(5) | (seit C++11) |
|
|
(6) | (seit C++11) |
|
|
(7) | (seit C++11) |
|
|
(8) | (seit C++11) |
Erzeugt ein neues Regex aus einer Sequenz von Zeichen interpretiert nach den flags f .
Original:
Constructs a new regex from a sequence of characters interpreted according to the flags f.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Standardkonstruktor. Erzeugt eine leere reguläre Ausdrücke, die nichts übereinstimmen .
Original:
Default constructor. Constructs an empty regular expression which will match nothing.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Erzeugt ein regex aus einem null-terminierten String s .
Original:
Constructs a regex from a null-terminated string s.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Erzeugt ein regex aus einer Sequenz von count Zeichen, auf die durch s .
Original:
Constructs a regex from a sequence of count characters, pointed to by s.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Kopieren Konstruktor. Erzeugt ein regex durch Kopieren other
Original:
Copy constructor. Constructs a regex by copying other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5)
Bewegen Konstruktor. Erzeugt ein regex durch mit dem Inhalt der other mit move-Semantik .
Original:
Move constructor. Constructs a regex by with the contents of other using move semantics.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
6)
Erzeugt ein regex aus einem String str .
Original:
Constructs a regex from a string str.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
7)
Reichweite Konstruktor. Erzeugt die Zeichenfolge mit dem Inhalt des Bereichs [first, last) .
Original:
Range constructor. Constructs the string with the contents of the range [first, last).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
8)
Initialisierungsliste Konstruktor. Erzeugt den String mit dem Inhalt der Initialisierungsliste init .
Original:
Initializer list constructor. Constructs the string with the contents of the initializer list init.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| s | - | Zeiger auf einen null-terminierten String Original: pointer to a null-terminated string The text has been machine-translated via Google Translate. |
| count | - | Länge eines Zeichens verwendet, um die Sequenz regex initialisieren Original: length of a character sequence used to initialize the regex The text has been machine-translated via Google Translate. |
| first, last | - | Reichweite einer Zeichenfolge verwendet, um die regex initialisieren Original: range of a character sequence used to initialize the regex The text has been machine-translated via Google Translate. |
| str | - | a basic_string als Quelle verwendet, um die regex initialisiert werden Original: a basic_string used as a source used to initialize the regex The text has been machine-translated via Google Translate. |
| other | - | anderen regex als Quelle verwenden, um die regex initialisieren Original: another regex to use as source to initialize the regex The text has been machine-translated via Google Translate. |
| init | - | Initialisierungsliste verwendet, um die regex initialisieren Original: initializer list used to initialize the regex The text has been machine-translated via Google Translate. |
| f | - | Flags verwendet, um die Interpretation der Zeichenfolge als regulärer Ausdruck führen Original: flags used to guide the interpretation of the character sequence as a regular expression The text has been machine-translated via Google Translate. |
| Type requirements | ||
-ForwardIt must meet the requirements of ForwardIterator.
| ||
Ausnahmen
1)
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2-3)
std::regex_error wenn die gelieferte reguläre Ausdruck ist nicht gültig .
Original:
std::regex_error if the supplied regular expression is not valid.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5-8)
std::regex_error wenn die gelieferte reguläre Ausdruck ist nicht gültig .
Original:
std::regex_error if the supplied regular expression is not valid.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.