From: Simon Mullis Date: 2007-09-28T19:39:27+09:00 Subject: regex: capture groups and term binding Hi All, Let's get down to it... I have a long string of the form: string = <<-EOVAR XD 1 * 100000436 3441863 1550663 1161254 951982 XD 1 479903531056 47988002622 21360568539 18276299303 15476234490 XD 1 66934 5552 321640438 40297830 0 XD 1 0 3235 2197 10907 1631621 XD 1 15488078 210564267 574075997 2405132745 7805716381 XD 1 0 4949 0 58361 0 (goes for about 17 lines, all separated by \n) <