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

View source: R/utils.R

rm_regex_lockR Documentation

Remove the symbols that lock in a string for matching

Description

Undoes the work of ins_regex_lock().

Usage

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 Dec. 28, 2022, 1:23 a.m.