In my regex I dropped the colon (:) in the url https// instead of https://.
If anyone else comes across this you have something to check now.