projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ce3cb50
)
Fix C< $x=''; pos($x)=0; $x=~/\G$/ >
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000 (
00:00
+0000)]
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
0422017
..
577b1ca
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-827,7
+827,7
@@
PP(pp_match)
play_it_again:
if (global && rx->startp[0]) {
t = s = rx->endp[0];
- if (s >= strend)
+ if ((s + rx->minlen) > strend)
goto nope;
if (update_minmatch++)
minmatch = (s == rx->startp[0]);