summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-02 16:56:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-02 16:56:16 +0000
commitafc6ad0561c430bc508bd22719915d0b5f5e83f8 (patch)
tree02f7e6a8613966f19077080bd11e86832f7b1c89 /regex.c
parent3ff112ae075960329b15416affa40599672d88d5 (diff)
* regex.c (re_match):
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index d6246d43c6..90fc5302d5 100644
--- a/regex.c
+++ b/regex.c
@@ -3476,7 +3476,7 @@ re_match(bufp, string_arg, size, pos, regs)
int size, pos;
struct re_registers *regs;
{
- return re_match_exec(bufp, string_arg, size, pos, 0, regs);
+ return re_match_exec(bufp, string_arg, size, pos, pos, regs);
}
static int