metachar {ds4psy}R Documentation

metachar provides metacharacters (as a character vector).

Description

metachar provides the metacharacters of extended regular expressions (as a character vector).

Usage

metachar

Format

An object of class character of length 12.

Details

metachar allows illustrating the notion of meta-characters in regular expressions (and provides corresponding exemplars).

See ?base::regex for details on regular expressions and ?"'" for a list of character constants/quotes in R.

See Also

cclass for a vector of character classes.

Other text objects and functions: Umlaut, capitalize(), caseflip(), cclass, chars_to_text(), collapse_chars(), count_chars_words(), count_chars(), count_words(), invert_rules(), l33t_rul35, map_text_chars(), map_text_coord(), map_text_regex(), read_ascii(), text_to_chars(), text_to_sentences(), text_to_words(), transl33t(), words_to_text()

Examples

metachar
length(metachar)  # 12
nchar(paste0(metachar, collapse = ""))  # 12


[Package ds4psy version 1.0.0 Index]