diff --git a/eww/eww-mu4e-messages b/eww/eww-mu4e-messages index 9d2957f..2fb8fc6 100755 --- a/eww/eww-mu4e-messages +++ b/eww/eww-mu4e-messages @@ -4,7 +4,7 @@ (princ (condition-case _ (if-let ((modeline-string (server-eval-at "server" '(mu4e--modeline-string))) - ((string-match "\\([0-9]+\\)\\((\\+1)\\)?/[0-9]+ $" modeline-string)) + ((string-match "\\([0-9]+\\)\\((\\+[0-9]+)\\)?/[0-9]+ $" modeline-string)) (matched-string (match-string 1 modeline-string))) (progn (set-text-properties 0 (length matched-string)