mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #113691 from NeQuissimus/ripgrep_pcre2
ripgrep: Add PCRE2 check
This commit is contained in:
commit
40652f8603
@ -42,6 +42,8 @@ rustPlatform.buildRustPackage rec {
|
||||
echo "abc\nbcd\ncde" > "$file"
|
||||
$out/bin/rg -N 'bcd' "$file"
|
||||
$out/bin/rg -N 'cd' "$file"
|
||||
'' + lib.optionalString withPCRE2 ''
|
||||
echo '(a(aa)aa)' | $out/bin/rg -P '\((a*|(?R))*\)'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user