summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 18:04:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-14 18:04:21 +0000
commitf17af09b264975fea3ce03210f740c17c96b62db (patch)
tree840798354a8f3ec79e6a0de7c0b7b652594d8f0b /NEWS
parent09f1595ef92b79289a66b8459875f747fb99b77c (diff)
downloadruby-f17af09b264975fea3ce03210f740c17c96b62db.tar.gz
ruby-f17af09b264975fea3ce03210f740c17c96b62db.tar.xz
ruby-f17af09b264975fea3ce03210f740c17c96b62db.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c518957be..419a8af9f 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,10 @@ with all sufficient information, see the ChangeLog file.
* extended methods:
* Process.spawn accepts [:child, FD] for a redirect target.
+ * String
+ * extended methods:
+ * string[regexp, name] supported.
+
* rss
* 0.2.4 -> 0.2.5