Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Happy-the-monk (Abbot)
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 taking refuge in the Monastery: (6)
As of 2015-08-02 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls