« first day (193 days earlier)      last day (1203 days later) » 

11:29 AM
@MartinBüttner +: and :+ have swapped behavior compared to previous Retina versions, but the new version seems to be the logical/expected
 
11:47 AM
@randomra that's correct
 
 
10 hours later…
10:11 PM
@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
 
11:06 PM
@MartinB├╝ttner Did you need the % feature in the past for something? I imagine I could have used it with $' and alike but I might be missing some good usage scenario.
 
Sp requested it ages ago and I think he had a use case at the time. I also remember wishing I had it some time ago. but yeah it's generally going to be useful for $', $_ etc. it also means you can use negated character classes without having to include to limit them to a single line
 

« first day (193 days earlier)      last day (1203 days later) »