quanteda (version 3.3.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