From afc6ad0561c430bc508bd22719915d0b5f5e83f8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 2 Jan 2003 16:56:16 +0000 Subject: * regex.c (re_match): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ regex.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4c34a92a42..8011fde2a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -224,6 +224,10 @@ Thu Dec 26 19:22:00 2002 YOSHIDA Kazuhiro * win32/setup.mak (-prologue-): moved srcdir macro definition. [ruby-win32:420]. +Wed Dec 25 18:26:44 2002 K.Kosako + + * regex.c (re_match): + Wed Dec 25 16:41:16 2002 Yukihiro Matsumoto * regex.c (re_match_exec): fix odd \G behavior based on the patch 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 -- cgit v1.2.3