diff options
author | Yves Orton <demerphq@gmail.com> | 2007-05-28 21:46:04 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-05-29 08:49:06 +0000 |
commit | 5339e136a9a7fcf6a58c5035f0eaf25e6d680adc (patch) | |
tree | da968966e0f6e798d1a29a99737f72927b65713b /regexec.c | |
parent | 37a7450d59b2f524aefb691fe4a055ad9dd6dd98 (diff) | |
download | perl-5339e136a9a7fcf6a58c5035f0eaf25e6d680adc.tar.gz |
Re: [perl #43015] regex /.*\z/ doesn't matches strings ending with \n
Message-ID: <9b18b3110705281046ib37acb4i7960fe415325270f@mail.gmail.com>
p4raw-id: //depot/perl@31303
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |