parse rss 1.0

This commit is contained in:
mmacia committed 2026-10-16 20:10:13 +00:00
1 parent 22a1e023a4
commit e5145c3701
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
)