Learn R Programming

quanteda (version 4.1.0)

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