Ah, so you had seen my faulty reply before I deleted it! I didn’t want to confuse the issue, so I got rid of the reply seconds after posting it… too late! I shall just recap and explain where I went wrong.
It’s my habit (apparently my unthinking habit by now!) to escape a dot (/full stop/period) when trying to match the string that it is part of. For example, the regex pattern to uniquely match com.apple.finder.plist would be com\.apple\.finder\.plist. If the dot is not escaped with a backslash, the regex engine will interpret . as meaning “any character” (as you probably know, because you used the pattern .*).
What I had for a moment overlooked was that the .zip part of your regex pattern was fine in this instance, because although it did not uniquely match the string .zip (it would also match qzip, xzip and many more alternatives), it would still match .zip! ![]()
So I apologise for that oversight! Again, welcome to the forum… and take @tiffle and @kcwhat’s advice. ![]()