summaryrefslogtreecommitdiffstats
path: root/lib
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
commit4963c8666b7a6472139ee3912636b4179d1891a9 (patch)
treeb397a1014acccd0021a96e2177b4883fc5de4919 /lib
parentd1c973475783e17c766b8a0264b3cd2a673ad206 (diff)
downloadruby-4963c8666b7a6472139ee3912636b4179d1891a9.tar.gz
ruby-4963c8666b7a6472139ee3912636b4179d1891a9.tar.xz
ruby-4963c8666b7a6472139ee3912636b4179d1891a9.zip
should escape dot.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 5a8cc2ac5..13ab0e277 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