Namespaces
Variants
Views
Actions

std::basic_regex<CharT,Traits>::flags

From cppreference.com
< cpp‎ | regex‎ | basic regex
 
 
 
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
 
 
flag_type flags() const;
(since C++11)

Returns the regular expression syntax flags as set in the constructor or the last call to assign().

Contents

[edit] Parameters

(none)

[edit] Return value

Current regular expression syntax flags.

[edit] Exceptions

May throw implementation-defined exceptions.

[edit] Example