grok_match: grok_match

Description Usage Arguments Value

View source: R/grok.R

Description

grok_match

Usage

1
2
3
4
5
6
grok_match(
  string,
  pattern = "",
  custom_patterns_dir = NULL,
  custom_patterns_list = reticulate::dict()
)

Arguments

string

input vector. Either a character vector, or something coercible to one.

pattern

the pattern to be matched

custom_patterns_dir

used to pass custom patterns

custom_patterns_list

used to pass custom patterns

Value

list with variable names specified in pattern and their corresponding values


ellisvalentiner/grokr documentation built on Jan. 1, 2021, 12:16 a.m.