If you provide more than one file size rule that use different regexes but the same size, only the last rule is effective. The main reason is that parsed rules are kept in map by allowed size, so the newly parsed rule overwrites previous rule that used the same size.
If you provide more than one file size rule that use different regexes but the same size, only the last rule is effective. The main reason is that parsed rules are kept in map by allowed size, so the newly parsed rule overwrites previous rule that used the same size.
https://github.com/christiangalsterer/stash-filehooks-plugin/blob/8100e35ac044ae2af673112c81515f2396247472/src/main/java/org/christiangalsterer/stash/filehooks/plugin/hook/FileSizeHook.java#L79