get_construct.reverse_construct: Extract Script from 'reverse_construct' to 'construct' a...

Description Usage Arguments Details Value

View source: R/as.regexr.R

Description

Pulls the reverse_construct attribute from a reverse_construct. This script can be assigned to an object and run in the console to create a comments, named regexr object.

Usage

1
2
## S3 method for class 'reverse_construct'
get_construct(x, file = "", ...)

Arguments

x

A reverse_construct object.

file

A connection, or a character string naming the file to print to. If "" (the default), cat prints to the console unless redirected by sink. Windows users may use file = "clipboard" to copy the content to the clipboard. To print as character use file = NULL.

...

Other arguments passed to print.reverse_construct.

Details

reverse_construct Method for get_construct

Value

Returns an auto-commented script used to construct a regexr object.


regexr documentation built on May 29, 2017, 5:57 p.m.