22:11
@randomra just added per-line mode if you wanna do some more testing.
%
basically means "split the string into lines, apply the stage/group to each line separately... then join back together with linefeeds"
as with the output options it matters if you do %+
or +%
(the former sets the option for the entire stage, so it splits into lines, then runs a loop on each line, then joins back together when the loop is done. the latter runs a loop, where at each iteration it does split, apply, join.)
in particular things like anchors, $_
, lookarounds won't know about anything on other lines during processing