Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Re^2: Inefficient regex (death to dot star)

by Wibble (Beadle)
on Mar 05, 2003 at 21:07 UTC ( #240714=note: print w/replies, xml ) Need Help??

in reply to Re^2: Inefficient regex (death to dot star)
in thread Inefficient regex

This is great and very clear - thank you!! I've taken on board what you said, experimented by making LABEL long then short to prove the point and sure enough execution times vary wildy. I've altered the regex to now use (\S+) to pick up the LABEL and it now completes in sub-second time. Thanks again!!!
  • Comment on Re: Re^2: Inefficient regex (death to dot star)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-09-30 00:38 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (562 votes). Check out past polls.