Regular Expression

^\/(?P<__url_path__>.[^?]*)\??(?P<__url_query__>.*)