Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Find Number in String then Ignore Characters proceeding

by Eliya (Vicar)
on May 29, 2012 at 23:44 UTC ( #973147=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "123 123" =~ /(\d+) \1/ ? "matched" : "didn't match";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-07-10 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls