[ruby-cvs:69873] nobu:r62718 (trunk): re.c: fixed escaped multibyte char

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Mar 11 09:05:13 JST 2018


nobu	2018-03-11 09:05:12 +0900 (Sun, 11 Mar 2018)

  New Revision: 62718

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

  Log:
    re.c: fixed escaped multibyte char
    
    * re.c (unescape_nonascii): escaped multibyte character should be
      copied as-is, just with checking if the encoding matches.
      https://twitter.com/sakuro/status/972014409986883584

  Modified files:
    trunk/re.c
    trunk/test/ruby/test_regexp.rb


More information about the ruby-cvs mailing list