Generalized URL reg-ex