Package: regreplaceR 0.1.0
regreplaceR: Match and Replace Strings Based on Named Groups in Regular Expressions
An R6 class "Replacer" provided by the package simplifies working with regex patterns containing named groups. It allows easy retrieval of matched portions and targeted replacements by group name, improving both code clarity and maintainability.
Authors:
regreplaceR_0.1.0.tar.gz
regreplaceR_0.1.0.zip(r-4.7-any)regreplaceR_0.1.0.zip(r-4.6-any)regreplaceR_0.1.0.zip(r-4.5-any)
regreplaceR_0.1.0.tgz(r-4.6-any)regreplaceR_0.1.0.tgz(r-4.5-any)
regreplaceR_0.1.0.tar.gz(r-4.7-any)regreplaceR_0.1.0.tar.gz(r-4.6-any)
regreplaceR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
regreplaceR/json (API)
| # Install 'regreplaceR' in R: |
| install.packages('regreplaceR', repos = c('https://gwangjinkim.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gwangjinkim/regreplacer/issues
Last updated from:65ab1d481f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 113 | ||
| source / vignettes | OK | 174 | ||
| linux-release | OK | 118 | ||
| macos-release | OK | 131 | ||
| macos-oldrel | OK | 165 | ||
| windows-devel | OK | 69 | ||
| windows-release | OK | 61 | ||
| windows-oldrel | OK | 53 | ||
| wasm-release | OK | 119 |
Exports:groupsmatch_groupreplace_groupReplacer
Dependencies:R6
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract Named Groups from a String Using a Regex Pattern | groups |
| Extract a Specific Named Group from a String | match_group |
| Replace a Specific Named Group in a String | replace_group |
| Replacer Class for Regex Operations | Replacer |