Revert "first check on jar uri with entry part before doing regex matching"

This reverts commit 7f97c57c4aacac1d75a6e97ad174895d1779a39f.