diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 21:44:19 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-09 21:44:19 +0000 |
commit | 08eb58d3dd6543a44c798aacc4385bf9f8bc005d (patch) | |
tree | ea01c61d89a34db40e21b9888d35ffe63d656754 /ChangeLog | |
parent | 9d8075b99cf131e0b2522bcf82a5b47e82d3882e (diff) | |
download | ruby-08eb58d3dd6543a44c798aacc4385bf9f8bc005d.tar.gz |
* re.c (rb_reg_names): new method Regexp#names.
(rb_reg_named_captures): new method Regexp#named_captures
(match_regexp): new method MatchData#regexp.
(match_names): new method MatchData#names.
* lib/pp.rb (MatchData#pretty_print): show names of named captures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Mon Dec 10 06:41:00 2007 Tanaka Akira <akr@fsij.org> + + * re.c (rb_reg_names): new method Regexp#names. + (rb_reg_named_captures): new method Regexp#named_captures + (match_regexp): new method MatchData#regexp. + (match_names): new method MatchData#names. + + * lib/pp.rb (MatchData#pretty_print): show names of named captures. + Mon Dec 10 01:35:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (expr): redefinable not (!) operator. |