diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 01:38:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-20 01:38:04 +0000 |
commit | 3f075b9ac9063a037456a2828a9478cc323fdb2e (patch) | |
tree | 812149ffc2ca8d55635c534f9f51895c1130141d /re.c | |
parent | c1c101e752f483d4956f66fd567ec86d0274899a (diff) | |
download | ruby-3f075b9ac9063a037456a2828a9478cc323fdb2e.tar.gz |
rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1530,6 +1530,15 @@ rb_reg_match_pos(re, str, pos) return LONG2FIX(pos); } +/* + * call-seq: + * rxp =~ str => integer or nil + * + * Match---Matches <i>rxp</i> against <i>str</i>. + * + * /at/ =~ "input data" #=> 7 + */ + VALUE rb_reg_match(re, str) VALUE re, str; |