add_escape: Escape sep and target in regex

View source: R/helpers.R

add_escapeR Documentation

Escape sep and target in regex

Description

Escape sep and target in regex

Usage

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 June 22, 2024, 9:47 a.m.