parse rss 1.0
This commit is contained in:
1 parent
22a1e023a4
commit
e5145c3701
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ defmodule FeedReader.Formats.RSS do
|
||||
[attributes] ->
|
||||
not Regex.match?(~r/\bversion\s*=/is, attributes) or
|
||||
Regex.match?(
|
||||
~r/\bversion\s*=\s*(["'])(?:0\.9(?:1|2)?|2\.0)\1/is,
|
||||
~r/\bversion\s*=\s*(["'])(?:0\.9(?:1|2)?|1\.0|2\.0)\1/is,
|
||||
attributes
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user