aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jed Brown <jed@59A2.org>2009-11-28 20:51:13 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-28 12:01:10 -0800
commit0a41c34310f6d27a6a21fae75e94a11ed204d6ea (patch)
tree038b429d0a0222234642fcbf2128d1f01afd9759
parent64c8d6227a90ea6c37ea112ee20b14f16b9b46e7 (diff)
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 <jed@59A2.org> Tested-by: Keith Packard <keithp@keithp.com>
-rw-r--r--notmuch.el2
1 files changed, 1 insertions, 1 deletions
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"