mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
13f2744b2e
commit
087c83d7ce
6 changed files with 29 additions and 5 deletions
1
regex.c
1
regex.c
|
@ -3766,6 +3766,7 @@ re_match(bufp, string_arg, size, pos, regs)
|
|||
|
||||
case start_nowidth:
|
||||
PUSH_FAILURE_POINT(0, d);
|
||||
printf("%d > %d\n", stackp - stackb, RE_DUP_MAX);
|
||||
if (stackp - stackb > RE_DUP_MAX) {
|
||||
FREE_AND_RETURN(stackb,(-2));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue