This is addressed in this question and answered here (and this question is also cited), but none of them actually answer the question -- the answer provided to the first question sidesteps the issue. The more general regex answer doesn't appear to work in R:
gsub('[\\]`]', '', '`]')
# [1] "`]"
I'm trying to match a specific set of punctuation so [:punct:]
is too general.