/// <summary> /// Parses the item. /// </summary> /// <param name="Html">Html.</param> /// <param name="Pattern">Pattern.</param> /// <param name="Url">URL.</param> /// <param name="BaseArticle">Base article.</param> public static bool ParseItem(string Html, string Pattern, string Url, ref Article BaseArticle) { #if !NET40 Match m = Regex.Match(Html, Pattern, RegexOptions.IgnoreCase | RegexOptions.Multiline, new TimeSpan(0, 0, 10)); #else Match m = RegexUtility.Match(Html, Pattern, RegexOptions.IgnoreCase | RegexOptions.Multiline, 10); #endif Match2Item(m, ref BaseArticle, Url, true); return(true); }