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

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

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

Parameters

(none)

Return value

Current regular expression syntax flags.

Exceptions

May throw implementation-defined exceptions.

Example