Regular expressions library
提供: cppreference.com
< cpp
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
正規表現ライブラリは、文字列のパターンマッチングを実行するために使用されるミニ言語の一種である正規表現を表すクラスが用意されています.
Original:
The regular expressions library provides a class that represents 正規表現, which are a kind of mini-language used to perform pattern matching within strings.
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.
また、様々なアルゴリズム、イテレータ、例外、および型の特徴のサポートを提供するユーティリティクラスは、正規表現ライブラリで提供されている.
Original:
Also provided in the regular expressions library are utility classes that provide support for various algorithms, iterators, exceptions, and type traits.
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.
目次 |
[編集]メインクラス
これらのクラスは、正規表現と文字の標的配列内の正規表現にマッチした結果をカプセル化する.
Original:
These classes encapsulate a regular expression and the results of matching a regular expression within a target sequence of characters.
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.
(C++11) | 正規表現オブジェクト Original: regular expression object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
(C++11) | 部分式にマッチした文字シーケンスを識別します Original: identifies the sequence of characters matched by a sub-expression The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
(C++11) | すべてのサブ表現の一致を含む一つの正規表現が一致した場合には、識別されます Original: identifies one regular expression match, including all 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. (クラステンプレート) |
[編集]アルゴリズム
これらの関数は、文字の標的配列に正規表現の中でカプセル化された正規表現を適用するために使用されている..
Original:
These functions are used to apply the regular expression encapsulated in a regex to a target sequence of characters..
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.
(C++11) | 全体の文字シーケンスに正規表現を一致させようとします Original: attempts to match a regular expression to the entire character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
(C++11) | 文字列の任意の部分に正規表現を一致させようとします Original: attempts to match a regular expression to any part of the character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数テンプレート) |
(C++11) | replaces occurrences of a regular expression with formatted replacement text (関数テンプレート) |
[編集]イテレータ
正規表現イテレータは、シーケンス内で見つかった正規表現マッチのセット全体を横断するために使用され.
Original:
The regex iterators are used to traverse the entire set of regular expression matches found within a sequence.
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.
(C++11) | 文字シーケンス内のすべての正規表現マッチを反復処理します Original: iterates through all regex matches within a character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
(C++11) | 与えられた文字列中の部分文字列または無比を介してすべての正規表現マッチ内の指定されたサブ式を反復処理します Original: iterates through the specified sub-expressions within all regex matches in a given string or through unmatched substrings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
[編集]例外
このクラスは、正規表現ライブラリからエラーを報告するために例外としてスローするオブジェクトのタイプを定義します.
Original:
This class defines the type of objects thrown as exceptions to report errors from the regular expressions library.
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.
(C++11) | 正規表現ライブラリによって生成されたエラーを報告します Original: reports errors generated by the regular expressions library The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) |
[編集]形質
正規表現特性クラスは、正規表現のローカライズ可能な側面をカプセル化するために使用され.
Original:
The regex traits class is used to encapsulate the localizable aspects of a regex.
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.
(C++11) | 正規表現ライブラリが必要とする文字の種類、についてのメタ情報を提供しています Original: provides metainformation about a character type, required by the regex library The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
[編集]定数
Defined in namespace std::regex_constants | |
(C++11) | 正規表現の振る舞いを制御する一般的なオプション Original: general options controlling regex behavior The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |
(C++11) | マッチングに固有のオプション Original: options specific to matching The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |
(C++11) | マッチングエラーの種類を説明しています Original: describes different types of matching errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |