rtk-ai/rtk

rtk fails to handle --pcre2 flag when agent tries to use rg

Open

#1,651 opened on Apr 30, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:medium

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

$ rtk grep -n --pcre2 "e2e-tests(?!-v2)"
/usr/bin/grep: unrecognized option '--pcre2'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.

Contributor guide