Re: extracting multiple statements ...

2008-09-22 Thread Mr. Shawn H. Corey
On Mon, 2008-09-22 at 20:37 +0530, Sharan Basappa wrote: > I have a code snippet as follows: > > keyword id1 = a x b x c; > keyword id2 = c x d x e; > > I would like to extract strings "a x b x c" and "c x d x e". I know I > can loop through the > code and extract the strings, but is there a RE t

RE: extracting multiple statements ...

2008-09-22 Thread Thomas Bätzler
Hi, Sharan Basappa <[EMAIL PROTECTED]> asked: > I have a code snippet as follows: > > keyword id1 = a x b x c; > keyword id2 = c x d x e; > > I would like to extract strings "a x b x c" and "c x d x e". > I know I can loop through the code and extract the strings, > but is there a RE that can

Re: extracting multiple statements ...

2008-09-22 Thread John W. Krahn
Sharan Basappa wrote: Hi, Hello, I have a code snippet as follows: keyword id1 = a x b x c; keyword id2 = c x d x e; I would like to extract strings "a x b x c" and "c x d x e". I know I can loop through the code and extract the strings, but is there a RE that can do this with a single stat

Re: extracting multiple statements ...

2008-09-22 Thread Dr.Ruud
"Mr. Shawn H. Corey" schreef: > my $text = undef; You don't trust much anymore I see. :-) -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: extracting multiple statements ...

2008-09-22 Thread Mr. Shawn H. Corey
On Mon, 2008-09-22 at 19:11 +0200, Dr.Ruud wrote: > "Mr. Shawn H. Corey" schreef: > > > my $text = undef; > > You don't trust much anymore I see. :-) Just because you're not paranoid doesn't mean computers don't hate me! -- Just my 0.0002 million dollars worth, Shawn Linux is obsolete

Re: extracting multiple statements ...

2008-09-23 Thread Sharan Basappa
On Mon, Sep 22, 2008 at 9:02 PM, Thomas Bätzler <[EMAIL PROTECTED]> wrote: > Hi, > > Sharan Basappa <[EMAIL PROTECTED]> asked: >> I have a code snippet as follows: >> >> keyword id1 = a x b x c; >> keyword id2 = c x d x e; >> >> I would like to extract strings "a x b x c" and "c x d x e". >> I know