Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.


Comment on Re: limiting regular expression greediness?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-07-10 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (197 votes), past polls