powered by
select_types()
internal function for select_types() to check if a string is a regular expression
is_regex(x)
a character string to be tested