adds regex for gwc/wms legend url