I would like to find out what this code snippet does. i know it involves extraction from a webpage format gb2312 but can ano\yone explain line by line, i appreciate the help... :)
Code blocks are created by indenting at least 4 spaces
... and can span multiple lines
if (RgxNextPage.IsMatch(page))
{
nurl = RgxNextPage.Match(page).Value.Replace("pagepanel", string.Empty);
Regex WebURL = new Regex(patternURL, RegexOptions.IgnoreCase);
if (WebURL.IsMatch(nurl))
{
nurl = WebURL.Match(nurl).Value;
}
else
{
nurl = string.Empty;
}
}
if (!nurl.Equals(url) && !string.IsNullOrEmpty(nurl))
{
string temp = readPage(nurl, "gb2312");
ExtractResults(nurl, temp, list);
}