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.5)rex_1.2.1.9000.zip(r-4.4)rex_1.2.1.9000.zip(r-4.3)
rex_1.2.1.9000.tgz(r-4.4-any)rex_1.2.1.9000.tgz(r-4.3-any)
rex_1.2.1.9000.tar.gz(r-4.5-noble)rex_1.2.1.9000.tar.gz(r-4.4-noble)
rex_1.2.1.9000.tgz(r-4.4-emscripten)rex_1.2.1.9000.tgz(r-4.3-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'))

Peer review:

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

On CRAN:

16 exports 332 stars 14.00 score 1 dependencies 102 dependents 4 mentions 171 scripts 142.4k downloads

Last updated 7 months agofrom:7a8fb36a29. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 08 2024
R-4.5-winOKOct 08 2024
R-4.5-linuxOKOct 08 2024
R-4.4-winOKOct 08 2024
R-4.4-macOKOct 08 2024
R-4.3-winOKOct 08 2024
R-4.3-macOKOct 08 2024

Exports:as.regexcharacter_classcharacter_class_escapeescapemmatchesre_matchesre_substitutesregexregister_shortcutsrexrex_rex_modesshortcutssubstitutes

Dependencies:withr

Server Log Parsing

Rendered fromlog_parsing.Rmdusingknitr::rmarkdownon Oct 08 2024.

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

URL Validation

Rendered fromurl_parsing.Rmdusingknitr::rmarkdownon Oct 08 2024.

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