* regex.c (re_match):

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2003-01-02 16:56:16 +00:00
parent 3ff112ae07
commit afc6ad0561
2 changed files with 5 additions and 1 deletions

View File

@ -224,6 +224,10 @@ Thu Dec 26 19:22:00 2002 YOSHIDA Kazuhiro <moriq@moriq.com>
* win32/setup.mak (-prologue-): moved srcdir macro definition.
[ruby-win32:420].
Wed Dec 25 18:26:44 2002 K.Kosako <kosako@sofnec.co.jp>
* regex.c (re_match):
Wed Dec 25 16:41:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* regex.c (re_match_exec): fix odd \G behavior based on the patch

View File

@ -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