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.


rex documentation built on March 28, 2026, 5:07 p.m.