[perl #121484] /m causing false negative
authorDavid Mitchell <davem@iabyn.com>
Mon, 24 Mar 2014 15:36:32 +0000 (15:36 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 24 Mar 2014 15:36:32 +0000 (15:36 +0000)
commit7742aa6637b99424497eb15161fdb0a225288578
tree8b5cf65d18f3c63e2fbd96f3ddbb783b2903d7f4
parent18ae2abf04984ba2211c8ddf7793c12407617de7
[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.
regexec.c
t/re/re_tests