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

Re^3: how to check whether a particular word exists in filename

by Happy-the-monk (Monsignor)
on Jul 03, 2013 at 23:30 UTC ( #1042299=note: print w/ replies, xml ) Need Help??


in reply to Re^2: how to check whether a particular word exists in filename
in thread how to check whether a particular word exists in filename

Nope! Not true.

That is because in the character class [A-Za-z0-9] there is no underscore, and Preceptor assumed that would be equivalent to \w .
\w , however, is [A-Za-z0-9_] and thus includes the underscore.

Cheers, Sören

(hooked on the Perl Programming language)


Comment on Re^3: how to check whether a particular word exists in filename

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-09-19 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (137 votes), past polls