[ruby-cvs:62216] naruse:r55053 (trunk): * re.c (match_ary_subseq): get subseq of match array without creating

naruse at ruby-lang.org naruse at ruby-lang.org
Wed May 18 13:56:02 JST 2016


naruse	2016-05-18 13:56:02 +0900 (Wed, 18 May 2016)

  New Revision: 55053

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

  Log:
    * re.c (match_ary_subseq): get subseq of match array without creating
      temporary array.
    
    * re.c (match_ary_aref): get element(s) of match array without creating
      temporary array.
    
    * re.c (match_aref): Use match_ary_subseq with handling irregulars.
    
    * re.c (match_values_at): Use match_ary_aref.

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


More information about the ruby-cvs mailing list