add a regex-based hashchange handler