regreplaceR: Match and Replace Strings Based on Named Groups in Regular Expressions
Gwang-Jin Kim · 2024
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.