Learn R Programming

regexr (version 1.1.0)

as.regexr.character: Coerce character to regexr

Description

Convert a regular expression to a commented regexr object.

Usage

"as.regexr"(x, names = TRUE, comments = TRUE, names.above = FALSE, comments.below = FALSE, ...)

Arguments

x
The character object.
names
logical. Should names be included in the construct script?
comments
logical. Should comments be included in the construct script?
names.above
logical. Should ames be included above the sub-expressions in the construct script? If FALSE names are placed in front of the sub-expressions.
comments.below
logical. Should comments be included below the sub-expressions in the construct script? If FALSE comments are placed behind the sub-expressions.
...
Ignored.

Details

character Method for as.regexr