get_options(pattern, ...)
re2
Returns options of a pre-compiled regular expression
get_options(re2("test"))$utf_8 [1] TRUE $case_sensitive [1] TRUE $posix_syntax [1] FALSE $dot_nl [1] FALSE $literal [1] FALSE $longest_match [1] FALSE $never_nl [1] FALSE $never_capture [1] FALSE $one_line [1] FALSE $perl_classes [1] FALSE $word_boundary [1] FALSE $log_error [1] FALSE $max_mem [1] 8388608