regexec_flags(): use result of intuit_start()
authorDavid Mitchell <davem@iabyn.com>
Wed, 10 Jul 2013 12:35:51 +0000 (13:35 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 28 Jul 2013 09:33:37 +0000 (10:33 +0100)
commit23a56f329b4aaaf3e9197ba8e1c6b3edc53743ed
tree45cc76a5854b3672b5a88490f5445133e0007aaf
parent8ef97b0e2cbc807a7da236464dc71e39332d8a62
regexec_flags(): use result of intuit_start()

When I moved the call to re_intuit_start() into Perl_regexec_flags()
a few commits earlier, I assigned the return value to the wrong variable,
so a subsequent match would still start at the beginning, not at the
intuited start point. This commit corrects that, by updating startpos
rather than stringarg.
regexec.c