Releases: mathiasrw/rexreplace
Ceci n'est pas une pipe
Add: Let replacement will be piped in (-R)
Add: Access piped data from js replacements
Add: Option for more chatty output (-V)
Fix: newline char in search result for dynamic javascript
Smoking pipe
Add: pipe data in to be treated
Add: Trim piped data with the -T flag
Add: Output matched groups with the -O flag
Add: Search only for first match with the -G flag
Fix: Multiple usafe of eurosign from commandline
The devil is in the dynamic detail
Add: Generate replacement dynamically for each match to involve captured groups in the generation with the -j
flag
Javascript all the things!
Why test is king
Fix: Pattern and/or replacement can start with '-'
In fiat money chars we trust
- Add rr alias for rexreplace
- Breaking:
€
is treated as alias for$
as default (void with-€
flag) - Support Node 0.12+
Let there be globs
- Added: Globs given as filenames will "expand" into all relevant files.
Replace better than sed
Search replace files using regular expression with lookahead and backreference to matching groups in the replacement
Add: void-ignore-case flag
Add: void-multiline flag
Add: unicode flag
Add: encoding flag
Add: output flag
Add: quiet flag
Add: quiet-total flag
Add: halt flag
Add: debug flag
Add: eurodollar flag
Add: help flag