Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: how to state this by REL

by whatluo (Novice)
on Nov 09, 2005 at 08:08 UTC ( [id://507000]=note: print w/replies, xml ) Need Help??


in reply to Re: how to state this by REL
in thread how to state this by REL

>The regexp is correct. The problem is your string. Use single >quote instead of double quote, to avoid interpolation. Yes, I got it, Now I use single quote to make it happy, and I want to know what's really means as to \w in perl, do it include @ ! or not? Thanks for the info.

Replies are listed 'Best First'.
Re^3: how to state this by REL
by Aragorn (Curate) on Nov 09, 2005 at 09:31 UTC
    According to the perlre documentation, it doesn't:
    A "\w" matches a single alphanumeric character (an alphabetic character, or a decimal digit) or "_", not a whole word.

    Arjen

    All that is gold does not glitter...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found