in reply to Grouping strings over a few line

I have the following, but i get duplicate output rows, so the name value is printed twice
undef $/; while(<>){ while(/console(.*?)}/gs){ $_ =~ s/\s//g; printf ("String = $_\n"); } }

2006-10-14 Retitled by planetscape, as per Monastery guidelines
Original title: 'Grouping strings over a few line'

Edited by planetscape - swapped parent and child nodes so Grouping strings over a few line became the thread root

( keep:3 edit:19 reap:0 )