diff options
author | David Mitchell <davem@iabyn.com> | 2014-03-24 15:36:32 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-03-24 15:36:32 +0000 |
commit | 7742aa6637b99424497eb15161fdb0a225288578 (patch) | |
tree | 8b5cf65d18f3c63e2fbd96f3ddbb783b2903d7f4 /t | |
parent | 18ae2abf04984ba2211c8ddf7793c12407617de7 (diff) | |
download | perl-7742aa6637b99424497eb15161fdb0a225288578.tar.gz |
[perl #121484] /m causing false negative
My recent commit d0d4464849e2b30aee8 in re_intuit_start() reduced the
scope of a 'skip if multiline' check, so that certain optimisations
weren't being unnecessarily skipped. Unfortunately it didn't reduce the
scope enough, so a vital slen-- was being skipped in the
SvTAIL-but-don't-fail case.
This commit just moves the !multiline test further down, and updates the
commentary and condition formatting a bit.
Diffstat (limited to 't')
-rw-r--r-- | t/re/re_tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/re/re_tests b/t/re/re_tests index 7ab7dc34fc..a36a3e0248 100644 --- a/t/re/re_tests +++ b/t/re/re_tests @@ -1883,6 +1883,7 @@ A+(*PRUNE)BC(?{}) AAABC y $& AAABC \d<(.*?)> a<> n - - [bcd].{2,3}aaaa XbXaaaaa y - - [bcd].{2,3}aaaa Xb\x{100}aaaaa y - - +'\Awibble\z'm wibble y - - # Keep these lines at the end of the file # vim: softtabstop=0 noexpandtab |