From 87fb7bb66daa35dcf1750e2f764da0167ac79938 Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 27 May 2004 06:56:23 +0000 Subject: * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server. Thanks, Rutger Nijlunsing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2b94cde234..dfbcf1499f 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -689,7 +689,7 @@ module Net return resp[3..-1].strip.to_i end - MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/ # :nodoc: + MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)/ # :nodoc: # # Returns the last modification time of the (remote) file. If +local+ is -- cgit v1.2.3