Turn a path string such as `/user/:name` into a regular expression
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).