Skip to content

Releases: mathiasrw/rexreplace

Ceci n'est pas une pipe

04 Sep 21:44
Compare
Choose a tag to compare

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

29 Aug 22:27
Compare
Choose a tag to compare

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

29 Aug 21:48
Compare
Choose a tag to compare

Add: Generate replacement dynamically for each match to involve captured groups in the generation with the -j flag

Javascript all the things!

27 Mar 02:59
Compare
Choose a tag to compare
  • Add: Generated replacement with JS and the -J flag

jsatt

Why test is king

27 Mar 02:56
Compare
Choose a tag to compare

Fix: Pattern and/or replacement can start with '-'

In fiat money chars we trust

17 Mar 12:25
Compare
Choose a tag to compare
  • Add rr alias for rexreplace
  • Breaking: is treated as alias for $ as default (void with -€ flag)
  • Support Node 0.12+

Let there be globs

17 Mar 04:31
Compare
Choose a tag to compare
  • Added: Globs given as filenames will "expand" into all relevant files.

Replace better than sed

17 Mar 04:31
Compare
Choose a tag to compare

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