Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 avoiding work at the Monastery: (12)
As of 2014-07-31 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls