Learn R Programming

rex (version 0.1.0)

as.regex: Coerce objects to a regex.

Description

Coerce objects to a regex.

Usage

as.regex(x, ...)

## S3 method for class 'default': as.regex(x, ...)

Arguments

x
Object to coerce to regex.
...
further arguments passed to methods.

Methods (by class)

  • default: Simply escape the Object.