projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [perl #43015] regex /.*\z/ doesn't matches strings ending with \n
[p5sagit/p5-mst-13.2.git]
/
regexec.c
diff --git
a/regexec.c
b/regexec.c
index
ba0f2b7
..
c6dbcc0
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-1845,7
+1845,7
@@
Perl_regexec_flags(pTHX_ REGEXP * const prog, char *stringarg, register char *st
if (regtry(®info, &s))
goto got_it;
after_try:
- if (s >= end)
+ if (s > end)
goto phooey;
if (prog->extflags & RXf_USE_INTUIT) {
s = re_intuit_start(prog, sv, s + 1, strend, flags, NULL);