Change route path expression to regular expression