mathiasrw / rexreplace

Smooth find & replace CLI as it should be: simple file selection with globs, flexible patterns with regex and dynamic replacements from js code.
26 stars 3 forks source link

§ not fully a substitute for \ #348

Open mathiasrw opened 1 year ago

mathiasrw commented 1 year ago

§ is meant to be a full substitute for \ but currently this is not the case:

> echo abc | rr '§n' 'X§n' 
abcX\n%                        
> echo abc | rr '§n' 'X\n' 
abcX