Logic fix to the pattern matching for urls and protocols
Merge branch 'resource_format_fix' into noaa_dev_resource_format_test