[ruby-cvs:70342] nobu:r63252 (trunk): string.c: fix scanned substring with `\K`

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Apr 24 21:25:46 JST 2018


nobu	2018-04-24 21:25:46 +0900 (Tue, 24 Apr 2018)

  New Revision: 63252

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

  Log:
    string.c: fix scanned substring with `\K`
    
    * string.c (scan_once): fix the matched substring with `\K`, the
      beginning of that string may differ from the matched position.
      [ruby-core:86663] [Bug #14707]

  Modified files:
    trunk/string.c
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list