Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Death to Dot Star!

by aquarium (Curate)
on Apr 03, 2003 at 11:54 UTC ( #247732=note: print w/ replies, xml ) Need Help??


in reply to Death to Dot Star!

I bet your friend still hasn't learnt regexes. I think It's often the case when they (friends) mention they'd like to learn regexes, it realy means that they'd like a magic wand to wave over them so they become regex wizards. btw the greedy behavior of dot star is well known, so if it's taken into consideration there's usually no problem. dot star is best used in conjunction with unique delimiters on either/both sides of it. Chris


Comment on Re: Death to Dot Star!
Re: Re: Death to Dot Star!
by Anonymous Monk on Apr 03, 2003 at 12:19 UTC
    You obviously have not understood the (sometimes catastrophic) performance issues that backtracking can cause. True story. I once saw a person who should have split on the comma instead try to use /(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*)/ to pull his data out. Even though this was guaranteed to work on his dataset, he thought that Perl was slow because this performed so pathetically.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-27 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls