as.regex: Coerce objects to a 'regex'.

View source: R/rex.R

as.regexR Documentation

Coerce objects to a regex.

Description

Coerce objects to a regex.

Usage

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.


r-lib/rex documentation built on March 15, 2024, 2:10 a.m.