Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by marius (Hermit)
on Mar 28, 2001 at 21:28 UTC ( #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
Node Status?
node history
Node Type: note [id://67871]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-04-29 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.