add_escape: Escape sep and target in regex

Description Usage Arguments Value

View source: R/helpers.R

Description

Escape sep and target in regex

Usage

1
add_escape(target, sep, split = TRUE)

Arguments

target

Character string containing a target word

sep

Separator in target and lexicon

split

Whether to split the target based on sep and escape every element in the character list

Value

escaped sep and target


LexFindR documentation built on Oct. 29, 2021, 9:07 a.m.