[ruby-cvs:55142] nobu:r47992 (trunk): re.c: mak eregexps with binary escapes ASCII-8BIT

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Oct 17 15:06:45 JST 2014


nobu	2014-10-17 15:06:43 +0900 (Fri, 17 Oct 2014)

  New Revision: 47992

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

  Log:
    re.c: mak eregexps with binary escapes ASCII-8BIT
    
    * re.c (unescape_nonascii): make dynamically compiled US-ASCII
      regexps ASCII-8BIT encoding if binary (hexadecimal, control,
      meta) escapes are contained, as well as literal regexps.
      [ruby-dev:48626] [Bug #10382]

  Modified files:
    trunk/ChangeLog
    trunk/re.c
    trunk/test/ruby/test_m17n.rb


More information about the ruby-cvs mailing list