* doc/misc/gnus.texi (Loose Threads): Use regexp-opt in example.

This commit is contained in:
Stefan Kangas 2021-10-05 19:31:52 +02:00
parent 9f041cdfac
commit 1cd1b2835b

View file

@ -7130,20 +7130,15 @@ as 10, you might consider setting this variable to something sensible:
(setq gnus-simplify-ignored-prefixes (setq gnus-simplify-ignored-prefixes
(concat (concat
"\\`\\[?\\(" "\\`\\[?\\("
(mapconcat (regexp-opt '("looking"
'identity "wanted" "followup" "summary" "summary of"
'("looking"
"wanted" "followup" "summary\\( of\\)?"
"help" "query" "problem" "question" "help" "query" "problem" "question"
"answer" "reference" "announce" "answer" "reference" "announce"
"How can I" "How to" "Comparison of" "How can I" "How to" "Comparison of"
;; ... ;; ...
) ))
"\\|")
"\\)\\s *\\(" "\\)\\s *\\("
(mapconcat 'identity (regexp-opt '("for" "for reference" "with" "about"))
'("for" "for reference" "with" "about")
"\\|")
"\\)?\\]?:?[ \t]*")) "\\)?\\]?:?[ \t]*"))
@end lisp @end lisp