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


in reply to Re^3: regex statement to call variable value is not working??
in thread regex statement to call variable value is not working??

Maybe you want to remember in your loop if you already printed a line?

You could also modify your regular expression so it matches for all elements at once instead of doing a loop over it.