Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: limiting regular expression greediness?

by The Mad Hatter (Priest)
on Mar 21, 2004 at 01:36 UTC ( #338395=note: print w/replies, xml ) Need Help??


in reply to limiting regular expression greediness?

Try changing the .* to .*?. You might also consider using some of the XML modules on CPAN instead of regexes.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338395]
help
Chatterbox?
[Corion]: 1nickt: Not in the general sense... I only have very specific crawlers, but not a simple crawler like that ;) But maybe that would be a good application/( stress) test for Future::HTTP to parallelize
[Corion]: Also, a good application to test my API to rate limit things

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-10-18 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?