Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: I wonder...

by Aristotle (Chancellor)
on Jan 23, 2005 at 16:15 UTC ( #424405=note: print w/ replies, xml ) Need Help??


in reply to I wonder...
in thread Things you think you'll never use.

If you want to match at least the same number, but it's okay to gobble up more:

/(x+)(y+)(?(?{ length $2 < length $1 })(?!))/x

Make it != if both matches must be the exact same length.

Makeshifts last the longest.


Comment on Re: I wonder...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-07-07 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls