Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: limiting regular expression greediness?

by The Mad Hatter (Priest)
on Mar 21, 2004 at 01:36 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338395]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found