Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 pondering the Monastery: (6)
As of 2014-09-30 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (385 votes), past polls