Update regex for packages.