![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^3: One regex construct to handle multiple string typesby JadeNB (Chaplain) |
on Nov 30, 2008 at 18:38 UTC ( #726922=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|