private string SubsectionsList(WikiPageSection section,
string aggregator)
{
Regex wikiLinkRE = new Regex(@"\[{2}(.+?)(\|.+?)?]{2}");
Match m = wikiLinkRE.Match(section.Title);
if (m.Success)
{
if (_l10i.Processor != null)
{
aggregator = aggregator + " • " + _l10i.Processor(section).Trim();
}
else
{
aggregator = aggregator + " • " + section.Title.Trim();
}
}
aggregator = section.Reduce(aggregator, SubsectionsList);
return aggregator;
}