Character class escapes
character_class_escape(x)# S3 method for regex
character_class_escape(x)
# S3 method for character_class
character_class_escape(x)
# S3 method for character
character_class_escape(x)
# S3 method for list
character_class_escape(x)
# S3 method for default
character_class_escape(x)
Object to escape.
regex
: objects are passed through unchanged.
character_class
: objects are passed through unchanged.
character
: objects properly escaped for character classes.
list
: call character_class_escape
on all elements of the list.
default
: coerce to character
and character_class_escape
.