in reply to Re^5: Question about regex.
in thread Question about regex.

Good luck managing that with /x

m{ ( \Q$pre\E \W* ){3} \Qwhen $post this!\E }x isn't too horrible, IMHO, but your point of breaking it up into several qr//s is of course good too.