rtk-ai/rtk
View on GitHubrtk fails to handle --pcre2 flag when agent tries to use rg
Open
#1,651 opened on Apr 30, 2026
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.