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

Re: matching and backreferencing filenames

by Lotus1 (Curate)
on Sep 30, 2011 at 17:58 UTC ( #928883=note: print w/replies, xml ) Need Help??


in reply to matching and backreferencing filenames

...And # what about camel case extensions? This long list seems # really innefficent. (jpg|JPG|gif|GIF|wmv|WMV|mpg|MPG|avi|AVI)$/

You can do case insensitive matching with the 'i' modifier after the final matching delimiter.

(jpg|gif|wmv|mpg|avi)$/i

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928883]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2016-12-11 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.