All functions

as.regex()

Coerce objects to a regex.

capture() capture_group()

Create a capture group

character_class() one_of() any_of() some_of() none_of() except_any_of() except_some_of() range() `:`() exclude_range()

Create character classes

character_class_escape()

Character class escapes

n_times() between() at_least() at_most()

Counts

escape()

Escape characters for a regex

group()

Create a grouped expression

`%if_next_is%` `%if_next_isnt%` `%if_prev_is%` `%if_prev_isnt%`

Lookarounds

not()

Do not match

`%or%` or()

Or

re_matches()

Match function

re_substitutes()

Substitute regular expressions in a string with another string.

as.character(<regex>) print(<regex>) regex()

Regular Expression

register_shortcuts()

Register the Rex shortcuts

rex()

Generate a regular expression.

rex_mode()

Toggles rex mode.

shortcuts

Shortcuts

single_shortcuts

Single shortcuts

zero_or_more() one_or_more() maybe()

Wildcards