quotemeta: Quote Regex Metacharacters

View source: R/helpers.R

quotemetaR Documentation

Quote Regex Metacharacters

Description

Escape regular expression metacharacters in strings.

Usage

quotemeta(x)

Arguments

x

Character vector.

Value

Character vector of the same length as x.

See Also

Other helper functions: capitalize_words, ch1903_to_wgs84, clean_strings, format_addresses, format_scientific_names, is.empty, lvapply, melt_by_listcol, na.remove, normalize_language, parse_scientific_names, replace_values_in_list, sp_transform, subset_search_results, unique_na

Examples

quotemeta("^hello world (are you there?)$")

falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.