std::regex_search
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <regex>
|
||
| template< class BidirIt, class Alloc, class CharT, class Traits > |
(1) | (C++11 起) |
| template< class Alloc, class CharT, class Traits > bool regex_search( const CharT* str, |
(2) | (C++11 起) |
| template< class STraits, class SAlloc, class Alloc, class CharT, class Traits > |
(3) | (C++11 起) |
| template< class BidirIt, class CharT, class Traits > |
(4) | (C++11 起) |
| template< class CharT, class Traits > bool regex_search( const CharT* str, |
(5) | (C++11 起) |
| template< class STraits, class SAlloc, class CharT, class Traits > |
(6) | (C++11 起) |
e和一些子序列中的目標字元序列[first,last)之間的匹配。比賽結果中返回m.e and some subsequence in the target character sequence [first,last). Match results are returned in m.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.
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.
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.
[编辑] 參數
| first, last | - | 的目標字元範圍
Original: the target character range The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| m | - | 比賽結果
Original: the match results The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| str | - | 目標字元NULL結尾的C風格字元串
Original: a target character null-terminated C-style string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| s | - | 目標字元的std :: basic_string的
Original: a target character std::basic_string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| e | - | 在std ::正則表達式
Original: the std::regex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| flags | - | 匹配標誌
Original: the match flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| Type requirements | ||
-BidirIt must meet the requirements of BidirectionalIterator.
| ||
-Alloc must meet the requirements of Allocator.
| ||
[编辑] 返回值
You can help to correct and verify the translation. Click here for instructions.