I'd like to use something like this

@lines = grep(/^"(.*)",?$/, @fulltext);

except I want @lines to contain what would be in
$1...that is the (.*) part instead of the whole line.

I was doing this

for (@fulltext) {
   if (/^"(.*)",?$/) {
       push (@lines,$1);
   }
}

but it seems like the grep might be more efficient.

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to