From 6dc106123aa94d1bbf790dd9edd808fa9bb808a7 Mon Sep 17 00:00:00 2001 Message-Id: <6dc106123aa94d1bbf790dd9edd808fa9bb808a7.1717846149.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 20 May 2020 16:58:58 +0100 Subject: [PATCH] dot/emacs: Split regex into little pieces. Organization: Straylight/Edgeware From: Mark Wooding This one is about to get messier. --- dot/emacs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dot/emacs b/dot/emacs index 8611ff0..22da44c 100644 --- a/dot/emacs +++ b/dot/emacs @@ -233,7 +233,11 @@ (lambda () (let ((group gnus-newsgroup-name)) (and (string-match "^nn\\(imap\\|folder\\)\\+" group) - (not (string-match ":\\(crap\\|spam\\|lists\\|corpus\\)\\." + (not (string-match (concat ":" "\\(" "crap" + "\\|" "spam" + "\\|" "lists" + "\\|" "corpus" + "\\)" "\\.") group))))) bbdb-user-mail-names (concat "^" -- [mdw]