Package: rex 1.2.1.9000
rex: Friendly Regular Expressions
A friendly interface for the construction of regular expressions.
Authors:
rex_1.2.1.9000.tar.gz
rex_1.2.1.9000.zip(r-4.7)rex_1.2.1.9000.zip(r-4.6)rex_1.2.1.9000.zip(r-4.5)
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.7-any)rex_1.2.1.9000.tar.gz(r-4.6-any)
rex_1.2.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Last updated from:7a8fb36a29. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 170 | ||
| linux-release-x86_64 | OK | 125 | ||
| macos-release-arm64 | OK | 98 | ||
| macos-oldrel-arm64 | OK | 92 | ||
| windows-devel | OK | 142 | ||
| windows-release | OK | 75 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 113 |
Exports:as.regexcharacter_classcharacter_class_escapeescapemmatchesre_matchesre_substitutesregexregister_shortcutsrexrex_rex_modesshortcutssubstitutes
Dependencies:withr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Or | %or% or |
| Regular Expression | as.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 escapes | character_class_escape character_class_escape.character character_class_escape.character_class character_class_escape.default character_class_escape.list character_class_escape.regex |
| Counts | at_least at_most between counts n n_times |
| Escape characters for a regex | escape escape.character escape.character_class escape.default escape.list escape.regex |
| Create a grouped expression | group |
| Lookarounds | %if_next_is% %if_next_isnt% %if_prev_is% %if_prev_isnt% lookarounds |
| Do not match | not |
| Match function | m matches re_matches |
| Substitute regular expressions in a string with another string. | re_substitutes s substitutes |
| Register the Rex shortcuts | register_shortcuts |
| Generate a regular expression. | rex rex_ |
| Toggles 'rex' mode. | rex_mode |
| Shortcuts | shortcuts |
| Single shortcuts | single_shortcuts |
| Wildcards | maybe one_or_more wildcards zero_or_more zero_or_one |
