std::basic_regex
提供: cppreference.com
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <regex> | ||
template< class CharT =char, | (C++11およびそれ以降) | |
クラステンプレート
basic_regex
は、正規表現を保持するための一般的なフレームワークを提供. 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.
一般的な文字の種類にはいくつかの特殊化が提供されています
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.
Defined in header <regex> | |
タイプ 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> |
[編集]メンバータイプ
メンバー·タイプ 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 |
[編集]メンバ関数
constructs the regex object (パブリックメンバ関数) | |
正規表現オブジェクトを破棄します 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. (パブリックメンバ関数) | |
内容が割り当てられます 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. (パブリックメンバ関数) | |
内容が割り当てられます 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. (パブリックメンバ関数) | |
Original: Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
正規表現内のサブ式著しい数を返します 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. (パブリックメンバ関数) | |
returns the syntax flags (パブリックメンバ関数) | |
Original: Locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
ロケール情報を取得します 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. (パブリックメンバ関数) | |
ロケール情報を設定します 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. (パブリックメンバ関数) | |
Original: Modifiers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
スワップ内容 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. (パブリックメンバ関数) | |
Original: Constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
値 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 | 文字をマッチングさせる際に大文字小文字を区別しない 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 | 部分式マッチを格納しません 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 | 高速なマッチング、遅い建設 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 | 範囲式は、ロケールに依存することができます 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 | ECMA-262(Perl 5の)構文を使用しています 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 | POSIX基本正規表現構文を使用する 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 | POSIX拡張正規表現構文を使用する 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 | ' awkの互換の構文を使用しています 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 | 'グレップ互換の構文を使用しています 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 | 拡張grepは互換の構文を使用しています 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. |
[編集]非メンバ関数
(C++11) | std::swapアルゴリズムを専門としています 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. (関数テンプレート) |