diff options
author | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-21 13:16:21 +0000 |
---|---|---|
committer | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-03-21 13:16:21 +0000 |
commit | a350e9c6e2935b2c2d358b94327a0c7028668c11 (patch) | |
tree | 3e968ad13d9c32422052d30f626b4fe9996b9f99 /re.h | |
parent | 1e608d0dffa714e65390d428c1f6fa48a9dbbba8 (diff) |
add String/Symbol argument to MatchData[x]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.h')
-rw-r--r-- | re.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ struct RMatch { struct RBasic basic; VALUE str; struct re_registers *regs; + VALUE regexp; /* RRegexp */ }; #define RMATCH(obj) (R_CAST(RMatch)(obj)) |