Learn R Programming

quanteda (version 0.99.22)

escape_regex: internal function for select_types() to escape regular expressions

Description

This function escapes glob patterns before utils:glob2rx(), therefore * and ? are unescaped.

Usage

escape_regex(x)

Arguments

x

character vector to be escaped