Does this not create an infinite loop? There should be a `$` at the end of the regex else it should match all urls that start with `contact/`.