[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs:64115] naruse:r56949 (trunk): Regexp supports Unicoe 9.0.0's \X
From:       naruse () ruby-lang ! org
Date:       2016-11-30 17:29:19
Message-ID: 20161130172919.CB06962F5C () svn ! ruby-lang ! org
[Download RAW message or body]

naruse	2016-12-01 02:29:19 +0900 (Thu, 01 Dec 2016)

  New Revision: 56949

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56949

  Log:
    Regexp supports Unicoe 9.0.0's \X
    
    * meta character \X matches Unicode 9.0.0 characters with some workarounds
      for UTR #51 Unicode Emoji, Version 4.0 emoji zwj sequences.
      [Feature #12831] [ruby-core:77586]
    
    The term "character" can have many meanings bytes, codepoints, combined
    characters, and so on. "grapheme cluster" is highest one of such words,
    which means user-perceived characters.
    Unicode Standard Annex #29 UNICODE TEXT SEGMENTATION specifies how to
    handle grapheme clusters (extended grapheme cluster).
    But some specs aren't updated to current situation because Unicode Emoji
    is rapidly extended without well definition.
    It breaks the precondition of UTR#29 "Grapheme cluster boundaries can be
    easily tested by looking at immediately adjacent characters". (the
    sentence will be removed in the next version)
    Though some of its detail are described in Unicode Technical Report #51
    UNICODE EMOJI but it is not merged into UTR#29 yet.
    
    http://unicode.org/reports/tr29/
    http://unicode.org/reports/tr51/
    http://unicode.org/Public/emoji/4.0/

  Modified files:
    trunk/NEWS
    trunk/common.mk
    trunk/enc/unicode/9.0.0/name2ctype.h
    trunk/regcomp.c
    trunk/regparse.c
    trunk/test/ruby/test_regexp.rb
    trunk/tool/downloader.rb
    trunk/tool/enc-unicode.rb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic