The Wayback Machine - https://web.archive.org/web/20180113095548/http://ja.cppreference.com:80/w/cpp/regex
名前空間
変種
操作

Regular expressions library

提供: cppreference.com
< cpp


 
 
正規表現ライブラリ
クラス
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex(C++11)
sub_match(C++11)
match_results(C++11)
アルゴリズム
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
イテレータ
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator(C++11)
regex_token_iterator(C++11)
例外
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error(C++11)
形質
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits(C++11)
定数
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
正規表現ライブラリは、文字列のパターンマッチングを実行するために使用されるミニ言語の一種である正規表現を表すクラスが用意されています.
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.
また、様々なアルゴリズム、イテレータ、例外、および型の特徴のサポートを提供するユーティリティクラスは、正規表現ライブラリで提供されている.
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.

目次

[編集]メインクラス

これらのクラスは、正規表現と文字の標的配列内の正規表現にマッチした結果をカプセル化する.
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.
正規表現オブジェクト
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.

(クラステンプレート)[edit]
(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.

(クラステンプレート)[edit]
すべてのサブ表現の一致を含む一つの正規表現が一致した場合には、識別されます
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.

(クラステンプレート)[edit]

[編集]アルゴリズム

これらの関数は、文字の標的配列に正規表現の中でカプセル化された正規表現を適用するために使用されている..
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.
全体の文字シーケンスに正規表現を一致させようとします
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.

(関数テンプレート)[edit]
文字列の任意の部分に正規表現を一致させようとします
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.

(関数テンプレート)[edit]
replaces occurrences of a regular expression with formatted replacement text
(関数テンプレート)[edit]

[編集]イテレータ

正規表現イテレータは、シーケンス内で見つかった正規表現マッチのセット全体を横断するために使用され.
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.
文字シーケンス内のすべての正規表現マッチを反復処理します
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.

(クラステンプレート)[edit]
与えられた文字列中の部分文字列または無比を介してすべての正規表現マッチ内の指定されたサブ式を反復処理します
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.

(クラステンプレート)[edit]

[編集]例外

このクラスは、正規表現ライブラリからエラーを報告するために例外としてスローするオブジェクトのタイプを定義します.
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.
正規表現ライブラリによって生成されたエラーを報告します
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.

(クラス)[edit]

[編集]形質

正規表現特性クラスは、正規表現のローカライズ可能な側面をカプセル化するために使用され.
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.
正規表現ライブラリが必要とする文字の種類、についてのメタ情報を提供しています
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.

(クラステンプレート)[edit]

[編集]定数

Defined in namespace std::regex_constants
正規表現の振る舞い​​を制御する一般的なオプション
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)[edit]
マッチングに固有のオプション
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)[edit]
マッチングエラーの種類を説明しています
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)[edit]
close