From c2a6ea7cfe9f21c731a63dd7e2fa82fe41f0f003 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 11 Nov 2018 15:26:46 +0100 Subject: [PATCH] feeds: give example of regex --- morss/feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/feeds.py b/morss/feeds.py index cef18db..b5231c3 100644 --- a/morss/feeds.py +++ b/morss/feeds.py @@ -260,7 +260,7 @@ class ParserXML(ParserBase): return test.groups() if test else (rule, None) def _resolve_ns(self, rule): - match = re.search(r'^([^:]+):([^:]+)$', rule) + match = re.search(r'^([^:]+):([^:]+)$', rule) # to match fakerss:content if match: match = match.groups() if match[0] in NSMAP: