std::regex_replace
C++ Reference | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Regular expressions library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <regex>
|
||
template< class OutputIterator, class BidirectionalIterator, class Traits, class CharT, |
(1) | (since C++11) |
template< class OutputIterator, class BidirectionalIterator, class Traits, class CharT > |
(2) | (since C++11) |
template< class Traits, class CharT, class STraits, class SAlloc, |
(3) | (since C++11) |
template< class Traits, class CharT, class STraits, class SAlloc > |
(4) | (since C++11) |
template< class Traits, class CharT, class STraits, class SAlloc > |
(5) | (since C++11) |
template< class Traits, class CharT > std::basic_string<CharT> |
(6) | (since C++11) |
Contents |
[edit] Parameters
out | - | an output iterator with the result | ||
first, last | - | the target character range | ||
m | - | the match results | ||
fmt | - | a regex replacement format string
| ||
s | - | a target character std::basic_string | ||
e | - | the std::regex | ||
flags | - | the match flags |
[edit] Return value
Returns the result containing the replacements.
[edit] Exceptions
This section is incomplete |
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
std::regex_constants::match_flag_type | |
std::basic_regex | |
std::regex_iterator |