Re: Extract until unquote or EOL



John W. Krahn wrote:

print "$1\n" if /\s*NAME\s*=\s*"?([^"]+)/;

Nice. Only that the leading \s* can be dropped.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.