cppreference.com
建立賬戶
登入
名稱空間
頁面
討論
變體
檢視
檢視
編輯
歷史
操作
std::basic_regex<CharT,Traits>::
flags
來自 cppreference.com
<
cpp
|
regex
|
basic_regex
C++
編譯器支援
自由(freestanding)與宿主(hosted)
語言
標準庫
標準庫標頭檔案
具名要求
特性測試宏
(C++20)
語言支援庫
概念庫
(C++20)
診斷庫
記憶體管理庫
超程式設計庫
(C++11)
通用工具庫
容器庫
迭代器庫
範圍庫
(C++20)
演算法庫
字串庫
文字處理庫
數值庫
日期和時間庫
輸入/輸出庫
檔案系統庫
(C++17)
併發支援庫
(C++11)
執行控制庫
(C++26)
技術規範
符號索引
外部庫
[編輯]
文字處理庫
本地化庫
正則表示式庫
(C++11)
格式化庫
(C++20)
空終止序列工具
位元組字串
多位元組字串
寬字串
原生數值轉換
to_chars
(C++17)
to_chars_result
(C++17)
from_chars
(C++17)
from_chars_result
(C++17)
chars_format
(C++17)
文字編碼標識
text_encoding
(C++26)
[編輯]
正則表示式庫
類
basic_regex
(C++11)
sub_match
(C++11)
match_results
(C++11)
演算法
regex_match
(C++11)
regex_search
(C++11)
regex_replace
(C++11)
迭代器
regex_iterator
(C++11)
regex_token_iterator
(C++11)
異常
regex_error
(C++11)
特性
regex_traits
(C++11)
常量
syntax_option_type
(C++11)
match_flag_type
(C++11)
error_type
(C++11)
正則表示式語法
修改後的 ECMAScript-262
(C++11)
[編輯]
std::basic_regex
成員函式
basic_regex::basic_regex
basic_regex::~basic_regex
basic_regex::operator=
basic_regex::assign
觀察器
basic_regex::mark_count
basic_regex::flags
區域設定
basic_regex::getloc
basic_regex::imbue
修改器
basic_regex::swap
常量
非成員函式
swap
(std::basic_regex)
推導指南
(C++17 起)
[編輯]
flag_type flags
(
)
const
;
(C++11 起)
返回建構函式中或上次呼叫
assign()
時設定的正則表示式語法標誌。
目錄
1
引數
2
返回值
3
異常
4
示例
[
編輯
]
引數
(無)
[
編輯
]
返回值
當前正則表示式語法標誌。
[
編輯
]
異常
可能丟擲實現定義的異常。
[
編輯
]
示例
本節不完整
原因:無示例
分類
:
待辦事項:無示例