Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-06-23 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (542 votes). Check out past polls.