|
From: | brian |
Subject: | [bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration and document it. |
Date: | Tue, 12 Sep 2023 10:34:17 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > +(setq debbugs-browse-url-regexp > + "^https?://\\(debbugs\\|\\(issues\\.guix\\|bugs\\)\\)\\.gnu\\.org/\ > +\\(cgi/bugreport\\.cgi\\?bug=\\)?\\(?3:[[:digit:]]+\\)$") > +@end lisp While I'm at it, here's the ‘rx’ form of the above: --8<---------------cut here---------------start------------->8--- (setq debbugs-browse-url-regexp (rx line-start "http" (zero-or-one "s") "://" (or "debbugs" "issues.guix" "bugs") ".gnu.org" (one-or-more "/") (group (zero-or-one "cgi/bugreport.cgi?bug=")) (group-n 3 (one-or-more digit)) line-end)) --8<---------------cut here---------------end--------------->8--- -bjc
[Prev in Thread] | Current Thread | [Next in Thread] |