powered by
regex(object, ...)## S3 method for class 'default': regex(object, ...)## S3 method for class 'character': regex(object, ...)## S3 method for class 'SearchableOrPattern': regex(object, ...)
## S3 method for class 'default': regex(object, ...)
## S3 method for class 'character': regex(object, ...)
## S3 method for class 'SearchableOrPattern': regex(object, ...)
pattern
regex
pat <- regex("a.+") detect( c('alpha','beta'), pat )
Run the code above in your browser using DataLab