in reply to regex gotcha moving from 5.8.8 to 5.30.0?

And what if tr/^/$/ ? It should do the same here, but is it also slower?

Upd. I think it would do the same except of not matching the first 'line'. But prepending one endline ("\n") to the very beginning of the slurpedmultiline text would make matching similar.