diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-17 02:41:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-17 02:41:02 +0000 |
commit | dcb796c8d5b42abb9196f215c5ca113c4bd4f60b (patch) | |
tree | b397a1014acccd0021a96e2177b4883fc5de4919 /lib | |
parent | 53f6129bbe578ea0033b85619f924c5f9d7bdad2 (diff) | |
download | ruby-dcb796c8d5b42abb9196f215c5ca113c4bd4f60b.tar.gz |
should escape dot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rss/rexmlparser.rb | 2 |
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 |