std: Use/revert to standard matching

Description Usage Arguments See Also Examples

View source: R/std.R

Description

Creates or modifies the search type to use default R matching

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
std(object, ...)

## Default S3 method:
std(object, ...)

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

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

Arguments

object

to make specification

...

additional arguments passes to pattern

std causes match behavior to revert to R's default. It is a non-op stringr-style match modifier that indicates that no special matching behavior should be used.

The function mainly exist to revert clear previos modifiers.

See Also

pattern

Examples

1
2
ptrn <- std("a")
  detect( c('alpha','beta'), ptrn )

decisionpatterns/searchable documentation built on Jan. 8, 2019, 3:28 a.m.