summaryrefslogtreecommitdiff
path: root/re.h
diff options
context:
space:
mode:
authorkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-21 13:16:21 +0000
committerkosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-21 13:16:21 +0000
commita350e9c6e2935b2c2d358b94327a0c7028668c11 (patch)
tree3e968ad13d9c32422052d30f626b4fe9996b9f99 /re.h
parent1e608d0dffa714e65390d428c1f6fa48a9dbbba8 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/re.h b/re.h
index 2c3463dadc..8690932bb5 100644
--- a/re.h
+++ b/re.h
@@ -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))