Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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.

Replies are listed 'Best First'.
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?
[Lady_Aleena]: 1nickt, why does it matter in this case?
[1nickt]: Hm, perhaps this? "Operators which expect an integer force the argument into the integer format."
[1nickt]: Can this be? So print
[1nickt]: ... "expects an integer" ?
[Lady_Aleena]: Maybe...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-05-24 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?