(perl #124368) make /foo/o; /$null/ act consistently
authorTony Cook <tony@develop-help.com>
Tue, 4 Jul 2017 01:44:06 +0000 (11:44 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 14 Aug 2017 06:02:42 +0000 (16:02 +1000)
commit3cb4cde3dd4d2af2f5065053905708bffa5168f9
treed42884431205d22c8d053d329f4fa7af5143ed1b
parent9ef07b785bb0b703029b3e0ef819565c76e1f8d5
(perl #124368) make /foo/o; /$null/ act consistently

Previously the /o would be inherited by the second match if the first
match was successful, but only on non-threaded builds.

The op-tree rewriting done on non-threaded builds could also confuse
the interpreter, possibly resulting in the match op receiving
the argument intended for the regcomp op.
pp_ctl.c
t/re/pat.t