3 ms·
You might already know this, but the current release of ripgrep has support for PCRE2 (as opposed to PCRE1 in ag). All you need to do is pass the -P flag. If yo
by burntsushi 8y ago
You might already know this, but the current release of ripgrep has support for PCRE2 (as opposed to PCRE1 in ag). All you need to do is pass the -P flag. If you want it enabled by default, then:
echo -P > $HOME/.ripgreprc
and add this to your .bashrc or equivalent:
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"