escapeRegex {magclass}R Documentation

escapeRegex

Description

Escapes all symbols in a string which have a special meaning in regular expressions.

Usage

escapeRegex(x)

Arguments

x

String or vector of strings that should be escaped.

Value

The escaped strings.

Author(s)

Jan Philipp Dietrich

See Also

grep


[Package magclass version 6.13.2 Index]