Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Find Prefix if regex didn't match

by demoralizer (Acolyte)
on Oct 31, 2012 at 14:33 UTC ( #1001674=note: print w/ replies, xml ) Need Help??


in reply to Re: Find Prefix if regex didn't match
in thread Find Prefix if regex didn't match

I try to match only once... but to become faster I try to cut unmatchable stuff at the beginning of my search string so that the next try needn't to start from the beginning again.

At the moment there are some doubts if cutting really makes things better but that is what I see here.


Comment on Re^2: Find Prefix if regex didn't match

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-09-22 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls