Fix regex for file extension
Merge pull request #156 from sh19910711/fix-extension-regex

Fix regex for the file extensions