master: added spec to regex, fixed regex problem matching init file, added gitignore to ignored files, added files/directories starting with . to ignore files