re2r (version 0.2.0)

print.re2c: Print information about a pre-compiled regular expression

Description

Print information about a pre-compiled regular expression

Usage

# S3 method for re2c
print(x, options = FALSE, ...)

Arguments

x

a pre-compiled regular expression

options

print options

...

further arguments passed to or from other methods.

Examples

Run this code
# NOT RUN {
re2("(.*)@([^.]*)")
re2("(?P<name>sd)")
print(re2("sd"), options = TRUE)
# }

Run the code above in your browser using DataLab