URL: <https://savannah.gnu.org/bugs/?65770>
Summary: Missing support for \(?: (which is part of Emacs regular expressions) Group: findutils Submitter: sbaugh Submitted: Wed 22 May 2024 08:08:22 PM UTC Category: find Severity: 3 - Normal Item Group: Wrong result Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: None Discussion Lock: Any Fixed Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Wed 22 May 2024 08:08:22 PM UTC By: Spencer Baugh <sbaugh> In Emacs regular expressions, \(?: \) defines a shy (non-capturing) group. The find documentation says that -regex supports the Emacs regular expression syntax, so it should support that. In find, this syntax should be equivalent to \( \). Supporting both syntaxes just allows regular expressions to be portable between Emacs and find, and allows Emacs utilities like rx or regexp-opt to be used to generate regexps for find. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65770> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/