cclass {ds4psy}R Documentation

cclass provides character classes (as a named vector).

Description

cclass provides different character classes (as a named character vector).

Usage

cclass

Format

An object of class character of length 6.

Details

cclass allows illustrating matching character classes via regular expressions.

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

See Also

metachar for a vector of metacharacters.

Other text objects and functions: Umlaut, capitalize(), caseflip(), 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(), metachar, read_ascii(), text_to_chars(), text_to_sentences(), text_to_words(), transl33t(), words_to_text()

Examples

cclass["hex"]  # select by name
writeLines(cclass["pun"])
grep("[[:alpha:]]", cclass, value = TRUE)


[Package ds4psy version 1.0.0 Index]