> -Original Message-
> From: Cohan, Drew [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 10, 2001 8:32 AM
> To: '[EMAIL PROTECTED]'
> Subject: confused over cookbook example 6-2
>
>
> I'm trying to modify cookbook example 6-2:
>
>
are you sure your input is what you expect it to be?
maybe print out all the lines?
and if you like, i wrote a very basic and simple html parser.
you can get it here: http://japh.nu/index.cgi?base=modules
take a look at the source, it should probably explain a lot
hth
Jos
> I'm trying to modi
I'm trying to modify cookbook example 6-2:
#killtags: very bad html tag killer
undef $/;
while(<>){
s/<.*?>//gs;
print;
}
to instead look for all "href=" in an html file across paragraphs/newlines
but I only get the first successful match. why does the cookbook's work but
not mi