Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

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


in reply to Re^2: Find Number in String then Ignore Characters proceeding
in thread Find Number in String then Ignore Characters proceeding

And how come \\w rather than \w works?

The double backslash is just because it's in a double-quoted string, so a literal \w remains in the runtime constructed regex pattern fragment.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2016-08-30 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (418 votes). Check out past polls.