Learn R Programming

quanteda (version 4.0.1)

is_regex: Check if a string is a regular expression

Description

Internal function for select_types() to check if a string is a regular expression

Usage

is_regex(x)

Arguments

x

a character string to be tested