searchable (version 0.3.3.1)

regex: regex

Description

Creates or modifies the search type to use regular expression matching

Usage

regex(object, ...)

## S3 method for class 'default': regex(object, ...)

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

## S3 method for class 'SearchableOrPattern': regex(object, ...)

Arguments

object
to make specification
...
additional arguments passes to pattern

regex

See Also

pattern

Examples

Run this code
pat <- regex("a.+")
  detect( c('alpha','beta'), pat )

Run the code above in your browser using DataLab