summaryrefslogtreecommitdiff
path: root/lib/rss/rexmlparser.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-17 02:41:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-17 02:41:02 +0000
commitdcb796c8d5b42abb9196f215c5ca113c4bd4f60b (patch)
treeb397a1014acccd0021a96e2177b4883fc5de4919 /lib/rss/rexmlparser.rb
parent53f6129bbe578ea0033b85619f924c5f9d7bdad2 (diff)
should escape dot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/rexmlparser.rb')
-rw-r--r--lib/rss/rexmlparser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/rexmlparser.rb b/lib/rss/rexmlparser.rb
index 5a8cc2ac5a..13ab0e277b 100644
--- a/lib/rss/rexmlparser.rb
+++ b/lib/rss/rexmlparser.rb
@@ -1,7 +1,7 @@
require "rexml/document"
require "rexml/streamlistener"
-/\A(\d+)\.(\d+)(?:.\d+)+\z/ =~ REXML::Version
+/\A(\d+)\.(\d+)(?:\.\d+)+\z/ =~ REXML::Version
if ([$1.to_i, $2.to_i] <=> [2, 5]) < 0
raise LoadError, "needs REXML 2.5 or later (#{REXML::Version})"
end