chmln / sd

Intuitive find & replace CLI (sed alternative)
MIT License
5.72k stars 136 forks source link

Use something other than `$` for capture group prefix #288

Open nc7s opened 8 months ago

nc7s commented 8 months ago

$ is good in programming languages, but interacts badly with shells. Disambiguation of numbered capture groups goes even further, as ${} is also a shell construct.

% might be a good choice.