Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Need a RegExp for Images

by jbt (Chaplain)
on Jul 12, 2009 at 03:38 UTC ( #779300=note: print w/ replies, xml ) Need Help??


in reply to Need a RegExp for Images

if ($filename =~ m/\.jpe?g$/i) { print ("yep, it is a jpg!\n"); }


Comment on Re: Need a RegExp for Images
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-02-12 04:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (388 votes), past polls