[gnus git] branch master updated: n0-17-61-g51f3b8b =2= Partially revert last regexp simplification, which was too simple. ; (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  51f3b8b3c6ce34b42e1c7d10e08d6aa8cc0a1948 (commit)
       via  8c6c0ff128db6435a2f743f3d3890756f1215b88 (commit)
      from  3439b579bb5162bbc96551275bc40256de70e974 (commit)


- Log -----------------------------------------------------------------
commit 51f3b8b3c6ce34b42e1c7d10e08d6aa8cc0a1948
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon May 30 20:35:41 2011 +0200

    Partially revert last regexp simplification, which was too simple.

diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index e2953ff..dc8b38b 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -190,7 +190,7 @@ textual parts.")
   (let (article bytes lines size string)
     (block nil
       (while (not (eobp))
-	(while (not (looking-at "\\* [0-9]+ FETCH.+UID [0-9]+"))
+	(while (not (looking-at "\\* [0-9]+ FETCH.+UID \\([0-9]+\\)"))
 	  (delete-region (point) (progn (forward-line 1) (point)))
 	  (when (eobp)
 	    (return)))
@@ -1904,7 +1904,7 @@ textual parts.")
   (let (article bytes)
     (block nil
       (while (not (eobp))
-	(while (not (looking-at "\\* [0-9]+ FETCH.+UID [0-9]+"))
+	(while (not (looking-at "\\* [0-9]+ FETCH.+UID \\([0-9]+\\)"))
 	  (delete-region (point) (progn (forward-line 1) (point)))
 	  (when (eobp)
 	    (return)))

commit 8c6c0ff128db6435a2f743f3d3890756f1215b88
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon May 30 20:25:47 2011 +0200

    (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b4fdd08..d353f02 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
 2011-05-30  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully
+	avoid regexp overflow.
+	(nnimap-transform-split-mail): Ditto.
+
 	* pop3.el (pop3-retr): Error out if the server closes the connection.
 
 2011-05-29  Lars Magne Ingebrigtsen  <[email protected]>
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 6882ed6..e2953ff 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -190,7 +190,7 @@ textual parts.")
   (let (article bytes lines size string)
     (block nil
       (while (not (eobp))
-	(while (not (looking-at "^\\* [0-9]+ FETCH.*UID \\([0-9]+\\)"))
+	(while (not (looking-at "\\* [0-9]+ FETCH.+UID [0-9]+"))
 	  (delete-region (point) (progn (forward-line 1) (point)))
 	  (when (eobp)
 	    (return)))
@@ -1904,7 +1904,7 @@ textual parts.")
   (let (article bytes)
     (block nil
       (while (not (eobp))
-	(while (not (looking-at "^\\* [0-9]+ FETCH.*UID \\([0-9]+\\)"))
+	(while (not (looking-at "\\* [0-9]+ FETCH.+UID [0-9]+"))
 	  (delete-region (point) (progn (forward-line 1) (point)))
 	  (when (eobp)
 	    (return)))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    4 ++++
 lisp/nnimap.el |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.