Learn R Programming

rex (version 0.1.0)

as.character.regex: Regular Expression

Description

Specify an explicit regular expression. This expression must already be escaped.

Usage

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

## S3 method for class 'regex': c(...)

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

regex(x, ...)

Arguments

x
Object
...
further arguments

Methods (by generic)

  • as.character: coerce regex object to a character
  • c: concatenate regex
  • print: Print regex object

See Also

as.regex to coerce to a regex object.