* helm-files.el (helm-ff-auto-expand-to-home-or-root): Fix regexp, don't use $ in string.
* helm-files.el: Fix expansion of "~/".
(helm-ff-set-pattern,
helm-ff-auto-expand-to-home-or-root): Do it.