Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: One regex construct to handle multiple string types

by JadeNB (Chaplain)
on Nov 30, 2008 at 18:38 UTC ( #726922=note: print w/replies, xml ) Need Help??


in reply to Re^2: One regex construct to handle multiple string types
in thread One regex construct to handle multiple string types

Of course, Re^3: One regex construct to handle multiple string types has already answered why you get the indicated match, but …. While it doesn't seem to be in the documentation at perldoc.perl.org, the Perl 5.10 documentation for perlre has a section called "Character Classes and other Special Escapes" that says:
\wMatch a "word" character (alphanumeric plus "_")

UPDATE: Ah, found it, at perlre.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-08-17 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?