|
From: | Juri Linkov |
Subject: | bug#59888: [PATCH] Add 'grep-use-headings' |
Date: | Tue, 28 Feb 2023 19:24:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> +(defvar grep-heading-regexp > + (rx bol > + (or > + (group-n 2 > + (group-n 1 (+ (not (any 0 ?\n)))) > + 0) > + (group-n 2 > + (group-n 1 (+? nonl)) > + (any ?: ?- ?=))) > + (+ digit) > + (any ?: ?- ?=)) I wonder what is the reason for this regexp to be different from grep-regexp-alist? Especially with such additional characters as ?- and ?=. This mismatch causes wrong handling of files when file names contain these characters.
[Prev in Thread] | Current Thread | [Next in Thread] |