in reply to Re: Grab 3 lines before and 2 after each regex hit
in thread Grab 3 lines before and 2 after each regex hit

"I can think of two approaches off the top of my head, other monks will likely have MTOWTDI:"

Thank you. This may be a very promising approach to investigate. I was a bit worried about all that slurping.

  • Comment on Re^2: Grab 3 lines before and 2 after each regex hit