From 707a0a946d55df772012b282c594df790371ec23 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 27 Aug 1998 03:55:54 +0000 Subject: 1.1c3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'regex.c') diff --git a/regex.c b/regex.c index f870a5203e..66707af19b 100644 --- a/regex.c +++ b/regex.c @@ -3688,6 +3688,8 @@ re_match(bufp, string_arg, size, pos, regs) SET_REGS_MATCHED; break; } + while (stackp != stackb && (int)stackp[-1] == 1) + POP_FAILURE_POINT(); continue; /* Successfully executed one pattern command; keep going. */ /* Jump here if any matching operation fails. */ -- cgit v1.2.3