Fix auto-mode-alist regex

$ matches end of line, not end of string.