R: Regular Expression

as.character.regex {rex} | R Documentation

## 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'
    print(x, ...)

    regex(x, ...)

### Arguments

`x` | Object
`...` | further arguments

### Methods (by generic)

- `as.character`: coerce regex object to a character

- `print`: Print regex object

### See Also

`as.regex` to coerce to a regex object.

[Package rex version 1.1.2 Index]