Use correct regexes from portage
This is compatible with eapi 5. Future eapis might allow dots in package
names and the regexes might need to be tweaked.
Use map/flatten instead of collect_concat
Merge pull request #76 from vikraman/fix/regex

Use correct regexes from portage