maintain regex in url hash for linking