added tilda expansion to home_regex