branch: elpa/elfeed
commit 77b9a37adfae86864bf33c1ed608cdab0ab7e93e
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
elfeed--rss-author-to-plist: Use \` and \' anchors
---
elfeed.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elfeed.el b/elfeed.el
index 7d4e166ba9..d5e15aebd6 100644
--- a/elfeed.el
+++ b/elfeed.el
@@ -366,7 +366,7 @@ URL identifies the feed and XML is the parsed content."
"Parse an RSS AUTHOR element into an authors plist."
(when author
(let ((clean (elfeed-cleanup author)))
- (if (string-match "^\\(.*\\) (\\([^)]+\\))$" clean)
+ (if (string-match "\\`\\(.*\\) (\\([^)]+\\))\\'" clean)
(list (list :name (match-string 2 clean)
:email (match-string 1 clean)))
(list (list :email clean))))))