Improve auto-mode-alist regexp

- escape '.' in regexp because '.' matchs any characters
- add string end anchor(`\\'`) to end of regexp