Move URL_REGEXP stuff in UrlUtilsService
Remove use of function copied from OL3