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

It's not matching both. Try running my version and looking at the way ikegami broke it down above too. Make sure you are using strict and warnings in your code; they catch tons of simple problems.

Replies are listed 'Best First'.
Re^4: Regex for zip files.
by Karger78 (Beadle) on Jun 09, 2009 at 20:58 UTC
    Your code didn't seem to work Your Mother. What I am doing is going though an array and matching zip files renaming them, then matching zip.meta and then renaming. It appears with the orignal code I had was matching zip on the first pass, then matching zip and zip.meta.