Closed jimhester closed 10 years ago
we currently don't do any escaping of special characters, probably will want to to avoid confusion.
ESCAPED_CHARS = c('*', '.', '?', '^', '+', '$', '|', '(', ')', '[', ']', '{', '}') gsub(p('([\\', p(collapse='\\', ESCAPED_CHARS),'])'), '\\\\\\1', p, perl=TRUE)
Is how I did it before...
Fixed by d65174be
we currently don't do any escaping of special characters, probably will want to to avoid confusion.