From 0a41c34310f6d27a6a21fae75e94a11ed204d6ea Mon Sep 17 00:00:00 2001 From: Jed Brown Date: Sat, 28 Nov 2009 20:51:13 +0100 Subject: [PATCH] More portable and easier to read regex in notmuch-search-operate-all The former one worked in 23.1.50.1 but not in 23.1.1. Signed-off-by: Jed Brown Tested-by: Keith Packard --- notmuch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch.el b/notmuch.el index 96c5d965..65473ba7 100644 --- a/notmuch.el +++ b/notmuch.el @@ -1152,7 +1152,7 @@ characters as well as `_.+-'. (let ((words action-split)) (when (null words) (error "No operation given")) (while words - (unless (string-match-p "^[\+\-][_\+\-\\w]+$" (car words)) + (unless (string-match-p "^[-+][-+_.[:word:]]+$" (car words)) (error "Action must be of the form `+thistag -that_tag'")) (setq words (cdr words)))) (apply 'notmuch-call-notmuch-process "tag"