updates for matching pattern of url in different cases