--- Bob Showalter <[EMAIL PROTECTED]>
wrote:
> > -----Original Message-----
> > From: miette [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 09, 2002 4:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: Getting $1 in regex in grep()
> > 
> > 
> > I'd like to use something like this
> > 
> > @lines = grep(/^"(.*)",?$/, @fulltext);
> 
> You're sooo close! Just use map() instead of grep():
> 
>    @lines = map(/^"(.*)",?$/, @fulltext);


Thanks...I could have swore I tried that :)


__________________________________________________
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