diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 07:08:18 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 07:08:18 +0000 |
commit | 88b95e3b03df9303be6cd43b1c3d545624f038f4 (patch) | |
tree | d0bf03969cc97a6c45fb6765d93617c32a522fbc /NEWS | |
parent | 435b7478dcaba1a571e7138bd55d2a2efd411c50 (diff) | |
download | ruby-88b95e3b03df9303be6cd43b1c3d545624f038f4.tar.gz ruby-88b95e3b03df9303be6cd43b1c3d545624f038f4.tar.xz ruby-88b95e3b03df9303be6cd43b1c3d545624f038f4.zip |
Split the String and Regexp section into two and elaborate on
individual changes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -107,12 +107,20 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7. * File::Stat o File::Stat#world_readable? o File::Stat#world_writable? - * String and Regexp - o No longer an Enumerable - o ?c semantics - o "One-char-wide" semantics for String#[] and String#[]= - o Character-wise semantics in many methods in stead of - byte-wise. + * String + o No longer an Enumerable: use each_line/lines for line + oriented operation + o Encoding-awareness + o Character-wise semantics in many methods instead of + byte-wise. + o String#[]: Indexing a String with an integer returns a + single character String instead of an integer. + o String#[]=: No longer takes an integer as right + side value. Note that "str[i] = ?c" because of + the following change. + o ?c is evaluated to a single character string + instead of an integer. + * Regexp o Encoding-awareness o Regexp matches only with strings which is encoded in a compatible character encoding to the regexp's. |