Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Harvesting and Parsing HTML from other sites

by marius (Hermit)
on Mar 28, 2001 at 21:28 UTC ( [id://67871]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Harvesting and Parsing HTML from other sites
in thread Harvesting and Parsing HTML from other sites

hostile17,
I mentioned the /s modifier due to this, from the perlre page:

s Treat string as single line. That is, change "." to match any character whatsoever, even a newline, which it normally would not match.
But in re-reading that and your code, I found I was mistaken and you do need it incase your tags span multiple lines.. Doh! Ahh well, glad you caught the problem otherwise =]

-marius

Edit: chipmunk 2001-03-30

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found