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.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')) |
Bug tracker:https://github.com/r-lib/rex/issues
Last updated 8 months agofrom:7a8fb36a29. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-win | OK | Nov 07 2024 |
R-4.5-linux | OK | Nov 07 2024 |
R-4.4-win | OK | Nov 07 2024 |
R-4.4-mac | OK | Nov 07 2024 |
R-4.3-win | OK | Nov 07 2024 |
R-4.3-mac | OK | Nov 07 2024 |
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 |