summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
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