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
Priority:  5 - 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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16.
    Corresponding source code