adding protocols to checkLinkFormat regex