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 | 86c19d0baf4d9169a943e9028709365d602d17bd (patch) | |
tree | 812149ffc2ca8d55635c534f9f51895c1130141d /re.c | |
parent | 99a0c77bb5c2caab783fc3e7f3edb52cd62b7c12 (diff) | |
download | ruby-86c19d0baf4d9169a943e9028709365d602d17bd.tar.gz ruby-86c19d0baf4d9169a943e9028709365d602d17bd.tar.xz ruby-86c19d0baf4d9169a943e9028709365d602d17bd.zip |
rdoc
git-svn-id: http://svn.ruby-lang.org/repos/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; |