Better regex aka better url handling