Re: Re: escape quotes in GREP

2009-11-30 Thread juliaaaa . 1
Thanks everyone for the help!!! really useful!!! On Nov 30, 2009 1:48am, lan messerschmidt wrote: On Mon, Nov 30, 2009 at 3:46 PM, Uri Guttman u...@stemsystems.com> wrote: > > what is [^()]* looking for? why couldn't () be inside the div tags? > Well, it's the OP's idea, not m

Re: escape quotes in GREP

2009-11-29 Thread lan messerschmidt
On Mon, Nov 30, 2009 at 3:46 PM, Uri Guttman wrote: > > what is [^()]* looking for? why couldn't () be inside the div tags? > Well, it's the OP's idea, not mime and YOURS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://

Re: escape quotes in GREP

2009-11-29 Thread Uri Guttman
> "lm" == lan messerschmidt writes: lm> On Mon, Nov 30, 2009 at 12:40 PM, Julia Gallardo Lomeli lm> wrote: >> Hi, >> >> Lets say I want grep to find all > class="photo">whateverElementGoesInsideTheseDivTags in index.html >> >> I am using the code below but it seems that it's

Re: escape quotes in GREP

2009-11-29 Thread lan messerschmidt
On Mon, Nov 30, 2009 at 12:40 PM, Julia Gallardo Lomeli wrote: > Hi, > > Lets say I want grep to find all class="photo">whateverElementGoesInsideTheseDivTags in index.html > > I am using the code below but it seems that it's not working > > > grep -o "[^()]*"  index.html > Perl's grep can do: #

Re: escape quotes in GREP

2009-11-29 Thread Uri Guttman
> "JGL" == Julia Gallardo Lomeli writes: JGL> Lets say I want grep to find all class="photo">whateverElementGoesInsideTheseDivTags in index.html JGL> I am using the code below but it seems that it's not working JGL> grep -o "[^()]*" index.html and what is your perl question? grep i