Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: About \d \w and \s

by jwkrahn (Monsignor)
on Oct 19, 2009 at 01:54 UTC ( #801920=note: print w/ replies, xml ) Need Help??


in reply to About \d \w and \s

/a ASCII/Perl [A-Za-z0-9_] [ \t\r\n] [ +0-9]

That should be:

/a ASCII/Perl [A-Za-z0-9_] [ \t\f\r\n] + [0-9]

\f is also in the \s character class.


Comment on Re: About \d \w and \s
Select or Download Code
Re^2: About \d \w and \s
by demerphq (Chancellor) on Oct 19, 2009 at 06:04 UTC

    Good catch.

    ---
    $world=~s/war/peace/g

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2015-07-07 14:12 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 (89 votes), past polls