From: Christophe Rhodes Date: Fri, 21 Mar 2014 20:10:05 +0000 (+0000) Subject: don't snarf newline characters in messages X-Git-Url: http://christophe.rhodes.io/gitweb/?a=commitdiff_plain;h=1768662e56241b20ea9274c28f0aba6f29d4b949;p=squeeze-el.git don't snarf newline characters in messages --- diff --git a/squeeze.el b/squeeze.el index c4c8b4e..4d45146 100644 --- a/squeeze.el +++ b/squeeze.el @@ -75,7 +75,7 @@ (let (result) (loop (message "start: %d" start) - (if (string-match "\\([a-z]+\\)%3A\\([^ ]+\\)" string start) + (if (string-match "\\([a-z]+\\)%3A\\([^ \n]+\\)" string start) (let ((mend (match-end 0))) (when (> mend end) (return))