Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re:{4} Getting impossible things right (behaviour of keys)

by blakem (Monsignor)
on Oct 24, 2001 at 21:39 UTC ( #121207=note: print w/replies, xml ) Need Help??


in reply to Re:{4} Getting impossible things right (behaviour of keys)
in thread Getting impossible things right (behaviour of keys)

Add the requirement that it has to be anchored at the end, and you will get the longest match. Try /(ot|foot|refoot)$/ and see which one matches. Bet ya its the longest one.

-Blake

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://121207]
help
Chatterbox?
[choroba]: also, seeing communist propaganda I remember from my childhood... very strange experience
[LanX]: ha the Cuban experience
[LanX]: one strange thing I heard was that pharmacies in Vietnam are run by Russians

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-02-26 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.