in reply to Re: Regex for zip files.
in thread Regex for zip files.

  1. /zip$/i matches any filename ending in "zip" in upper or lower case, including filenames without a dot ("zappzip" and "foobar.notazip" would match).
  2. /meta/ matches any filename that contains meta ("metaphysic-illustrations.gif" would match), not only those that end with ".zip.meta".
  3. The first RE is case-insensitiv, the second RE isn't. Why?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)