X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=65473ba70911fd0ab5bdc6e0f2e05b71dd72b2a9;hp=96c5d965e1dcf35a6061c307ca5a19022cc292b3;hb=0a41c34310f6d27a6a21fae75e94a11ed204d6ea;hpb=64c8d6227a90ea6c37ea112ee20b14f16b9b46e7 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"