bugfindutils - Bugs: bug #65770, Missing support for \(?: (which is...

 
 

bug #65770: Missing support for \(?: (which is part of Emacs regular expressions)

Submitter:  Spencer Baugh <sbaugh>
Submitted:  Wed 22 May 2024 08:08:22 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Need Info
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Open
Release:  None Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 May 2024 08:29:21 PM UTC, comment #1: 

Please report this FR against gnulib.  
You can do this by mailing <bug-gnulib@gnu.org>

James Youngman <jay>
Group administrator
Wed 22 May 2024 08:08:22 PM UTC, original submission:  

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.

Spencer Baugh <sbaugh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by sbaugh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-23 jay StatusNone Need Info
        Assigned toNone jay

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code