basic_regex::flags

flag_type flags() const;

The member function returns the value of the flag_type argument passed to the most recent call to one of the assign member functions or, if no such call has been made, the value passed to the constructor.