PATCH: [perl #115242]: /m and regex optimizer bug.
authorKarl Williamson <public@khwilliamson.com>
Sat, 20 Oct 2012 22:55:26 +0000 (16:55 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 21 Oct 2012 04:13:38 +0000 (22:13 -0600)
commitd46b78c674c5ad23656932e71fea9369ee8ac4df
tree90b4b9d2ba46cb3406eae9d897ef8a5b8de4e7c6
parent03bb5c85a720f4455caceb352295004706a3a9c1
PATCH: [perl #115242]: /m and regex optimizer bug.

This commit turns off string length checking for /m.  A string longer
than the calculated maximum can match under /m because, for example,
trailing new lines in it can come after the $ anchor.

A test for this condition is in the next commit.
regexec.c