Tweak regexes.
Add repository field to make npm shut up.