ruby-changes:44322
From: kazu <ko1@a...>
Date: Wed, 12 Oct 2016 01:36:20 +0900 (JST)
Subject: [ruby-changes:44322] kazu:r56395 (trunk): `\s` includes `\t`
kazu 2016-10-12 01:36:14 +0900 (Wed, 12 Oct 2016) New Revision: 56395 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56395 Log: `\s` includes `\t` Modified files: trunk/bootstraptest/runner.rb Index: bootstraptest/runner.rb =================================================================== --- bootstraptest/runner.rb (revision 56394) +++ bootstraptest/runner.rb (revision 56395) @@ -405,7 +405,7 @@ def flunk(message = '') https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L405 end def pretty(src, desc, result) - src = src.sub(/\A[\s\t]*\n/, '') + src = src.sub(/\A\s*\n/, '') (/\n/ =~ src ? "\n#{adjust_indent(src)}" : src) + " #=> #{desc}" end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/