Learn R Programming

questionr (version 0.7.7)

escape_regex: Escape regex special chars Code directly taken from Hmisc::escapeRegex

Description

Escape regex special chars Code directly taken from Hmisc::escapeRegex

Usage

escape_regex(s)

Arguments

s

string to escape regex special chars from