escape_regex {webexercises}R Documentation

Escape a string for regex

Description

Escape a string for regex

Usage

escape_regex(string)

Arguments

string

A string to escape.

Value

A string with escaped characters.

Examples

escape_regex("library(tidyverse)")

[Package webexercises version 1.1.0 Index]