http://qs321.pair.com?node_id=1166016


in reply to Parsing multiple lines based on a given String

Rather that keeping track of multiple lines, consider combining the lines as in join two lines in a file? or Combine multiple lines into one line and then using a regular expression to obtain the scalar values.