共用方式為


<regex> typedef

標頭 <regex> 提供下列 typedefs:

cmatch Typedef

char match_results 的類型定義。

typedef match_results<const char*> cmatch;

備註

此類型描述 類型match_results反覆運算器的類別範本const char*特製化。

cregex_iterator Typedef

char regex_iterator 的類型定義。

typedef regex_iterator<const char*> cregex_iterator;

備註

此類型描述 類型regex_iterator反覆運算器的類別範本const char*特製化。

cregex_token_iterator Typedef

Char regex_token_iterator 的類型定義

typedef regex_token_iterator<const char*> cregex_token_iterator;

備註

此類型描述 類型regex_token_iterator反覆運算器的類別範本const char*特製化。

csub_match Typedef

char sub_match 的類型定義。

typedef sub_match<const char*> csub_match;

備註

此類型描述 類型sub_match反覆運算器的類別範本const char*特製化。

regex Typedef

char basic_regex 的類型定義。

typedef basic_regex<char> regex;

備註

此類型描述 類型basic_regex元素的類別範本char特製化。

注意

高位元字元搭配 regex 將會有未預期的結果。 超出 0 到 127 範圍以外的值可能會導致未定義的行為。

smatch Typedef

string match_results 的類型定義。

typedef match_results<string::const_iterator> smatch;

備註

此類型描述 類型match_results反覆運算器的類別範本string::const_iterator特製化。

sregex_iterator Typedef

string regex_iterator 的類型定義。

typedef regex_iterator<string::const_iterator> sregex_iterator;

備註

此類型描述 類型regex_iterator反覆運算器的類別範本string::const_iterator特製化。

sregex_token_iterator Typedef

string regex_token_iterator 的類型定義。

typedef regex_token_iterator<string::const_iterator> sregex_token_iterator;

備註

此類型描述 類型regex_token_iterator反覆運算器的類別範本string::const_iterator特製化。

ssub_match Typedef

string sub_match 的類型定義。

typedef sub_match<string::const_iterator> ssub_match;

備註

此類型描述 類型sub_match反覆運算器的類別範本string::const_iterator特製化。

wcmatch Typedef

wchar_t match_results 的類型定義。

typedef match_results<const wchar_t *> wcmatch;

備註

此類型描述 類型match_results反覆運算器的類別範本const wchar_t*特製化。

wcregex_iterator Typedef

wchar_t regex_iterator 的類型定義。

typedef regex_iterator<const wchar_t*> wcregex_iterator;

備註

此類型描述 類型regex_iterator反覆運算器的類別範本const wchar_t*特製化。

wcregex_token_iterator Typedef

wchar_t regex_token_iterator 的類型定義。

typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;

備註

此類型描述 類型regex_token_iterator反覆運算器的類別範本const wchar_t*特製化。

wcsub_match Typedef

wchar_t sub_match 的類型定義。

typedef sub_match<const wchar_t*> wcsub_match;

備註

此類型描述 類型sub_match反覆運算器的類別範本const wchar_t*特製化。

wregex Typedef

wchar_t basic_regex 的類型定義。

typedef basic_regex<wchar_t> wregex;

備註

此類型描述 類型basic_regex元素的類別範本wchar_t特製化。

wsmatch Typedef

wstring match_results 的類型定義。

typedef match_results<wstring::const_iterator> wsmatch;

備註

此類型描述 類型match_results反覆運算器的類別範本wstring::const_iterator特製化。

wsregex_iterator Typedef

wstring regex_iterator 的類型定義。

typedef regex_iterator<wstring::const_iterator> wsregex_iterator;

備註

此類型描述 類型regex_iterator反覆運算器的類別範本wstring::const_iterator特製化。

wsregex_token_iterator Typedef

wstring regex_token_iterator 的類型定義。

typedef regex_token_iterator<wstring::const_iterator> wsregex_token_iterator;

備註

此類型描述 類型regex_token_iterator反覆運算器的類別範本wstring::const_iterator特製化。

wssub_match Typedef

wstring sub_match 的類型定義。

typedef sub_match<wstring::const_iterator> wssub_match;

備註

此類型描述 類型sub_match反覆運算器的類別範本wstring::const_iterator特製化。

另請參閱

<regex>
regex_constants 類別
regex_error 類別
<regex> 函式
regex_iterator 類別
<regex> 運算符
regex_token_iterator 類別
regex_traits 類別