chiark / gitweb /
dot/emacs: Split regex into little pieces.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 20 May 2020 15:58:58 +0000 (16:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 20 May 2020 16:17:54 +0000 (17:17 +0100)
This one is about to get messier.

dot/emacs

index 8611ff0d465c3685e37d3140c85db26f4ec2ae5a..22da44c4566bdd53eb0d66fe89948d4a6ea193d9 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       (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 "^"