3 ms·
Nice, missed that, and it has a single character shorthand too: -g Edit: or maybe not, I think I'd still have to use --regex for real whitespace sequences that
by donio 4y ago
Nice, missed that, and it has a single character shorthand too: -g
Edit: or maybe not, I think I'd still have to use --regex for real whitespace sequences that can be a mix of spaces and tabs.
- riquito 4y agoAs you figured out, -g (--greedy) matches the same delimiter multiple times (e.g. one or more spaces). If you want to match different delimiters (e.g. a mix of spaces), one or more times, you must use -e (--regex).