]> rhodes.io Git - squeeze-el.git/commitdiff
Christophe Weblog Wiki Code Publications Music
don't snarf newline characters in messages
authorChristophe Rhodes <csr21@cantab.net>
Fri, 21 Mar 2014 20:10:05 +0000 (20:10 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 21 Mar 2014 20:10:05 +0000 (20:10 +0000)
squeeze.el

index c4c8b4ebed6c2faaf4328a5eb3716c31e316786d..4d451462e529e8773755de27a6272a17d71c207c 100644 (file)
@@ -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))