* NEWS: Add news about Unicode-wide case mapping for
String/Symbol#upcase/downcase/swapcase/capitalize(!). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
89e11e8833
commit
8ba27d7312
@ -1,3 +1,8 @@
|
|||||||
|
Sun Jun 5 19:06:40 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||||
|
|
||||||
|
* NEWS: Add news about Unicode-wide case mapping for
|
||||||
|
String/Symbol#upcase/downcase/swapcase/capitalize(!).
|
||||||
|
|
||||||
Sun Jun 5 15:24:33 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
Sun Jun 5 15:24:33 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||||
|
|
||||||
* test/ruby/enc/test_case_comprehensive.rb:
|
* test/ruby/enc/test_case_comprehensive.rb:
|
||||||
|
17
NEWS
17
NEWS
@ -61,12 +61,21 @@ with all sufficient information, see the ChangeLog file or Redmine
|
|||||||
|
|
||||||
* String
|
* String
|
||||||
|
|
||||||
|
* String#upcase, String#downcase, String#capitalize, String#swapcase and
|
||||||
|
their bang variants work for all of Unicode, and are no longer limited
|
||||||
|
to ASCII. Variations are available with options. See the documentation
|
||||||
|
of String#downcase for details. [Feature #10085]
|
||||||
|
|
||||||
* String.new(capacity: size) [Feature #12024]
|
* String.new(capacity: size) [Feature #12024]
|
||||||
|
|
||||||
* Symbol
|
* Symbol
|
||||||
|
|
||||||
* Symbol#match now returns MatchData. [Bug #11991]
|
* Symbol#match now returns MatchData. [Bug #11991]
|
||||||
|
|
||||||
|
* Symbol#upcase, Symbol#downcase, Symbol#capitalize, and Symbol#swapcase now
|
||||||
|
work for all of Unicode. See the documentation of String#downcase
|
||||||
|
for details. [Feature #10085]
|
||||||
|
|
||||||
* MatchData
|
* MatchData
|
||||||
|
|
||||||
* MatchData#named_captures [Feature #11999]
|
* MatchData#named_captures [Feature #11999]
|
||||||
@ -110,6 +119,14 @@ with all sufficient information, see the ChangeLog file or Redmine
|
|||||||
klass == rb_cBignum, should be changed to FIXNUM_P(obj) and
|
klass == rb_cBignum, should be changed to FIXNUM_P(obj) and
|
||||||
RB_TYPE_P(obj, T_BIGNUM).
|
RB_TYPE_P(obj, T_BIGNUM).
|
||||||
|
|
||||||
|
* String/Symbol#upcase/downcase/swapcase/capitalize(!) now work for all of
|
||||||
|
Unicode, not only for ASCII. [Feature #10085]
|
||||||
|
No change is needed if the data is in ASCII anyway or if the limitation
|
||||||
|
to ASCII was only tolerated while waiting for a more extensive implementation.
|
||||||
|
A change (using the :ascii option) is needed in cases where Unicode data
|
||||||
|
is processed, but the operation has to be limited to ASCII only.
|
||||||
|
A good example of this are internationalized domain names.
|
||||||
|
|
||||||
=== Stdlib compatibility issues (excluding feature bug fixes)
|
=== Stdlib compatibility issues (excluding feature bug fixes)
|
||||||
|
|
||||||
* Time
|
* Time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user