urllparse + regex function