From f3f6582f768b9d467e3ee16096daf6e7b7f7f021 Mon Sep 17 00:00:00 2001 From: shugo Date: Tue, 22 Jun 2004 07:47:36 +0000 Subject: * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server. Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net') diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2b94cde23..dfbcf1499 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