Releases: mathiasrw/rexreplace
Releases · mathiasrw/rexreplace
Exponential grows fast
Not that way!
- Use
-x [re]
or--exclude-re [re]
to exclude files with a path that matches this regular expression. Will follow same regex flags and setup as the main search. Can be provided multiple times. - Use
-X [glob]
or--exclude-glob [glob]
to exclude files found with this glob. Can be provided multiple times.
Farewell
Literaly?
Excape the unescaped
Breaking: §
defaults to be an alias for \
Silence before the storm
- Add: Have
.
match newline (dot-all notation) - Breaking: Needs node 10+ to compile the library
- Fix: Groups undefined in javascript replacement
- Fix: Safty issue solved for dependencies
- Fix Error with current work directory for javascript replacements
- Devops: fix build process
Require more from the world around you
- Added: require from relative path with no
./
when replacement is JS code - Added: require with alias
r
when replacement is JS code
Megaexosceleton
- Fix: Multiple files with dynamic replacement
- Breaking: Prenamed variables for dynamic replacement
Just roll with it
- Add: Access working directory from javascript replacements
Emancipate yourself from complexity
- Add: per-file vars for javascript replacements
- Add: Option for backup file (
-b
) - Add: More safe life for data (data never only in memory as default)
- Add: Option for sync file interaction
- Add: Option to output matched groups (
-m
) - Breaking: Removed
-J
flag (use-j
flag instead) - Breaking: Removed
-O
flag (use-m
flag instead) - Fix: Newline in replacement