Regular expression for finding a query param based path templates.