Project

General

Profile

« Previous | Next » 

Revision f414bd65

Added by akr (Akira Tanaka) over 16 years ago

  • string.c (rb_str_subpat): accept capture name.
    (rb_str_aref): follow above change.
    (rb_str_aref_m): pass the 2nd argument to rb_str_subpat.
    (rb_str_subpat_set): accept capture name.
    (rb_str_aset): follow above change.
    (rb_str_partition): ditto.
    (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set.

  • include/ruby/intern.h (rb_reg_backref_number): declared.

  • re.c (rb_reg_backref_number): defined.

    [ruby-core:21057]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e