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 | d64e9d6b38bc7acf26a4ba4d91403d1c9135d20a (patch) | |
| tree | ea01c61d89a34db40e21b9888d35ffe63d656754 /ChangeLog | |
| parent | 0495fa3b0e1f7486cefef29c155af2ba1415ee36 (diff) | |
| download | ruby-d64e9d6b38bc7acf26a4ba4d91403d1c9135d20a.tar.gz ruby-d64e9d6b38bc7acf26a4ba4d91403d1c9135d20a.tar.xz ruby-d64e9d6b38bc7acf26a4ba4d91403d1c9135d20a.zip | |
* 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: http://svn.ruby-lang.org/repos/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. |
