rm_regex_lock: Remove the symbols that lock in a string for matching

Description Usage Arguments Value Note

View source: R/utils.R

Description

Undoes the work of ins_regex_lock().

Usage

1
rm_regex_lock(params)

Arguments

params

Node names to remove a ^ and $ from (if present).

Value

A character vector with locking anchors inserted to force an exact match. For example, "^a\\[1\\]$" becomes "a\\[1\\]".

Note

This is not a function users will generally use directly.


postpack documentation built on June 3, 2021, 1:07 a.m.