Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: matching and backreferencing filenames

by Lotus1 (Chaplain)
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


Comment on Re: matching and backreferencing filenames
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-30 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls