-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Glob: support for [^...] notation #663
Copy link
Copy link
Closed
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.help wantedOthers are encouraged to work on this issue.Others are encouraged to work on this issue.
Description
It looks like RipGrep is already supporting the [^...] syntax for glob patterns which will match on a character-range with negation. Can the [!...] syntax also be supported for the same purpose?
From http://man7.org/linux/man-pages/man7/glob.7.html
An expression "[!...]" matches a single character, namely any
character that is not matched by the expression obtained by removing
the first '!' from it. (Thus, "[!]a-]" matches any single character
except ']', 'a' and '-'.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.help wantedOthers are encouraged to work on this issue.Others are encouraged to work on this issue.