use regexp in auto-mode-list, not the loop

sometimes regexps make it simplier :-)