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.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
Last updated from:7a8fb36a29. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 155 | ||
| source / vignettes | OK | 193 | ||
| linux-release-x86_64 | OK | 133 | ||
| macos-devel-arm64 | OK | 90 | ||
| macos-release-arm64 | OK | 107 | ||
| windows-devel | OK | 71 | ||
| windows-release | OK | 66 | ||
| windows-oldrel | OK | 93 | ||
| wasm-release | OK | 118 |
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 |
