Coerce objects to a regex.

as.regex(x, ...)

# Default S3 method
as.regex(x, ...)

Arguments

x

Object to coerce to regex.

...

further arguments passed to methods.

Methods (by class)

  • default: Simply escape the Object.