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 /file.c | |
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 'file.c')
0 files changed, 0 insertions, 0 deletions