Remove escapes on regex brackets
rm_regex_bracket(params)
params | Node names. |
---|
A character vector with all brackets escaped. For example,
"a\\[1\\]"
becomes "a[1]"
.
Searches the contents of a string for the occurrence of a square bracket or two (that has been escaped), and removes the escaping that was necessary for matching via regular expressions.
This is not a function users will generally use directly.