"print"(x, options = FALSE, ...)
Print information about a pre-compiled regular expression
re2("(.*)@([^.]*)")re2 pre-compiled regular expression pattern: (.*)@([^.]*) number of capturing subpatterns: 2 capturing names with indices: .match .1 .2 expression size: 37re2("(?P<name>sd)")re2 pre-compiled regular expression pattern: (?P<name>sd) number of capturing subpatterns: 1 capturing names with indices: .match name expression size: 8print(re2("sd"), options = TRUE)re2 pre-compiled regular expression pattern: sd number of capturing subpatterns: 0 capturing names with indices: .match expression size: 6 Options: UTF-8 pattern: TRUE sase sensitive: TRUE posix syntax: FALSE dot match new line: FALSE literal pattern string: FALSE longest match: FALSE never match \n: FALSE never capture: FALSE max memory: 8388608