private bool IsMatch(LicenseInfo licenseInfo, string licenseText)
        {
            var pattern = Regex.Replace(licenseInfo.Pattern, @"\s+", "\\s+");

            return(Regex.IsMatch(licenseText, pattern, RegexOptions.Singleline | RegexOptions.IgnoreCase));
        }
 private bool IsMatch(LicenseInfo licenseInfo, string licenseText) {
     var pattern = Regex.Replace(licenseInfo.Pattern, @"\s+", "\\s+");
     return Regex.IsMatch(licenseText, pattern, RegexOptions.Singleline | RegexOptions.IgnoreCase);
 }