Learn R Programming

quanteda (version 4.0.1)

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