get_pattern: The string specification for this RE2.

Description Usage Arguments Value Examples

Description

The string specification for this RE2.

Usage

1

Arguments

pattern

a pre-compiled regular expression or a string

...

further arguments passed to re2

Value

a string

Examples

1
2
3
4
regexp = re2("1")
get_pattern(regexp)

get_pattern(re2("^(?P<abc>abc)a"))

re2r documentation built on May 2, 2019, 12:35 p.m.