updated format regular expression in a url
add path function in Twig