Fix RegExp

When is filter option specified, package name will be evaluated from beginning to the end of the package name