Package: rex 1.2.1.9000

Kevin Ushey

rex: Friendly Regular Expressions

A friendly interface for the construction of regular expressions.

Authors:Kevin Ushey [aut, cre], Jim Hester [aut], Robert Krzyzanowski [aut]

rex_1.2.1.9000.tar.gz
rex_1.2.1.9000.zip(r-4.6)rex_1.2.1.9000.zip(r-4.5)rex_1.2.1.9000.zip(r-4.4)
rex_1.2.1.9000.tgz(r-4.6-any)rex_1.2.1.9000.tgz(r-4.5-any)
rex_1.2.1.9000.tar.gz(r-4.6-any)rex_1.2.1.9000.tar.gz(r-4.5-any)
rex_1.2.1.9000.tgz(r-4.5-emscripten)
rex.pdf |rex.html
rex/json (API)
NEWS

# Install 'rex' in R:
install.packages('rex', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lib/rex/issues

Pkgdown/docs site:https://rex.r-lib.org

On CRAN:

Conda:

14.00 score 335 stars 80 packages 188 scripts 166k downloads 4 mentions 16 exports 1 dependencies

Last updated from:7a8fb36a29. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK155
source / vignettesOK193
linux-release-x86_64OK133
macos-devel-arm64OK90
macos-release-arm64OK107
windows-develOK71
windows-releaseOK66
windows-oldrelOK93
wasm-releaseOK118

Exports:as.regexcharacter_classcharacter_class_escapeescapemmatchesre_matchesre_substitutesregexregister_shortcutsrexrex_rex_modesshortcutssubstitutes

Dependencies:withr

Server Log Parsing

Rendered fromlog_parsing.Rmdusingknitr::rmarkdownon Mar 07 2026.

Last update: 2021-11-24
Started: 2014-10-08

URL Validation

Rendered fromurl_parsing.Rmdusingknitr::rmarkdownon Mar 07 2026.

Last update: 2020-04-21
Started: 2014-09-24

Readme and manuals

Help Manual

Help pageTopics
Or%or% or
Regular Expressionas.character.regex print.regex regex
Coerce objects to a 'regex'.as.regex as.regex.default
Create a capture group. capture capture_group
Create character classes: any_of character_class except except_any_of except_some_of exclude_range none_of one_of range some_of
Character class escapescharacter_class_escape character_class_escape.character character_class_escape.character_class character_class_escape.default character_class_escape.list character_class_escape.regex
Countsat_least at_most between counts n n_times
Escape characters for a regexescape escape.character escape.character_class escape.default escape.list escape.regex
Create a grouped expressiongroup
Lookarounds%if_next_is% %if_next_isnt% %if_prev_is% %if_prev_isnt% lookarounds
Do not matchnot
Match functionm matches re_matches
Substitute regular expressions in a string with another string.re_substitutes s substitutes
Register the Rex shortcutsregister_shortcuts
Generate a regular expression.rex rex_
Toggles 'rex' mode.rex_mode
Shortcutsshortcuts
Single shortcutssingle_shortcuts
Wildcardsmaybe one_or_more wildcards zero_or_more zero_or_one