mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() Don't use single byte optimization on grapheme clusters Unicode Text Segmentation considers CRLF as a character. [Bug #15337] add tests using Unicode test data for grapheme clusters Add file test/ruby/enc/test_grapheme_breaks.rb to test String#each_grapheme_cluster and \X extended grapheme cluster matcher in regular expressions against test data provided by Unicode (ucd/auxiliary/GraphemeBreakTest.txt). Some lines in the data file are ignored, as follows: - Lines with a surrogate, because Ruby doesn't handle these - The case of "\r\n", because there is a bug (#15337) in the implementation remove guard against bug #15337, because it is fixed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
test_big5.rb | ||
test_case_comprehensive.rb | ||
test_case_mapping.rb | ||
test_case_options.rb | ||
test_cp949.rb | ||
test_emoji.rb | ||
test_euc_jp.rb | ||
test_euc_kr.rb | ||
test_euc_tw.rb | ||
test_gb18030.rb | ||
test_gbk.rb | ||
test_grapheme_breaks.rb | ||
test_iso_8859.rb | ||
test_koi8.rb | ||
test_regex_casefold.rb | ||
test_shift_jis.rb | ||
test_utf16.rb | ||
test_utf32.rb | ||
test_windows_1251.rb | ||
test_windows_1252.rb |