in reply to Re^2: Printing line before matching expression
in thread Printing line before matching expression

Yes, concept of offset is good! :-)
  • Comment on Re^3: Printing line before matching expression