Tweak VANISHED regexp to avoid regexp overflow, possibly.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 7 Dec 2010 20:24:15 +0000 (21:24 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 7 Dec 2010 20:24:15 +0000 (21:24 +0100)
lisp/ChangeLog
lisp/nnimap.el

index ff627bf..0328e10 100644 (file)
@@ -1,5 +1,8 @@
 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
+       overflow, possibly.
+
        * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
        (shr-render-td): Handle td style="" better.
        (shr-tag-table): Use the color from the style sheet.
index c7d6139..fb562a3 100644 (file)
@@ -1384,7 +1384,7 @@ textual parts.")
                 (goto-char start)
                 (setq vanished
                       (and (eq flag-sequence 'qresync)
-                           (re-search-forward "VANISHED.* \\([0-9:,]+\\)"
+                           (re-search-forward "VANISHED .* \\([0-9:,]+\\)"
                                               (or end (point-min)) t)
                            (match-string 1)))
                 (goto-char start)