Added edge case for other patterns
Update .gitignore