ruby-changes:12911
From: knu <ko1@a...>
Date: Tue, 25 Aug 2009 18:03:03 +0900 (JST)
Subject: [ruby-changes:12911] Ruby:r24646 (ruby_1_8): Mention /\s/ being fixed to match a vertical tab.
knu 2009-08-25 17:57:13 +0900 (Tue, 25 Aug 2009) New Revision: 24646 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24646 Log: Mention /\s/ being fixed to match a vertical tab. Modified files: branches/ruby_1_8/NEWS Index: ruby_1_8/NEWS =================================================================== --- ruby_1_8/NEWS (revision 24645) +++ ruby_1_8/NEWS (revision 24646) @@ -84,6 +84,13 @@ New alias to #include? for the forward compatibility with 1.9, in which the behavior of Range#include? has changed. + * Regexp + + The regular expression /\s/ now properly matches a vertical tab + character (VT: "\v") and /\S/ does not. It was a bug that /\s/ + did not match VT when /[\s]/ does. It is clear that VT should + always be regarded as white space, not to mention String#strip. + * String#getbyte * String#setbyte * String#ord -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/