basant307/AI_Governance_Project
048
1'use strict';2 3export default function parseProtocol(url) {4 const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);5 return (match && match[1]) || '';6}7 1'use strict';2 3export default function parseProtocol(url) {4 const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);5 return (match && match[1]) || '';6}7