ruby-changes:16040
From: nobu <ko1@a...>
Date: Mon, 24 May 2010 15:32:58 +0900 (JST)
Subject: [ruby-changes:16040] Ruby:r27989 (trunk): * tool/change_maker.rb: line number may not present.
nobu 2010-05-24 15:32:53 +0900 (Mon, 24 May 2010) New Revision: 27989 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27989 Log: * tool/change_maker.rb: line number may not present. Modified files: trunk/tool/change_maker.rb Index: tool/change_maker.rb =================================================================== --- tool/change_maker.rb (revision 27988) +++ tool/change_maker.rb (revision 27989) @@ -7,7 +7,7 @@ case line when /^Index: (\S*)/, /^diff --git [a-z]\/(\S*) [a-z]\/\1/ path = $1 - when /^@@\s*-\d+,\d+ +\+(\d+),\d+\s*@@(?: +([A-Za-z_][A-Za-z_0-9 ]*[A-Za-z_0-9]))?/ + when /^@@\s*-[,\d]+ +\+(\d+)[,\d]*\s*@@(?: +([A-Za-z_][A-Za-z_0-9 ]*[A-Za-z_0-9]))?/ line = $1.to_i ent = "* #{path}" ent << " (#{$2})" if $2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/