function match(sModuleName, sPattern) {
			sModuleName = sModuleName.toLowerCase();
			sPattern = sPattern.toLowerCase();
			return (
				sModuleName === sPattern
				|| sPattern.match(/\*$/) && sModuleName.indexOf(sPattern.slice(0,-1)) === 0 // simple prefix match
				|| sPattern.match(/\.\*$/) && sModuleName === sPattern.slice(0,-2) // directory pattern also matches directory itself
			);
		}
Return the control's component for Ownership app (TeamApp) & Explored app (Demokit)

@param {Array.<Object>} oComponentInfos object for each library with the default component and special cases
@param {string} sModuleName control name, e.g. sap.m.Button
@return {string} component
@private