Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 studying the Monastery: (5)
As of 2014-07-13 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (250 votes), past polls