added packages to gitignore
updated regex to allow hyphens; made test for it