Claymore.TalkCleanupWikiBot.ArticlesForDeletion.SubsectionsList C# (CSharp) Method

SubsectionsList() private static method

private static SubsectionsList ( WikiPageSection section, List aggregator ) : List
section WikiPageSection
aggregator List
return List
        private static List<WikiPageSection> SubsectionsList(WikiPageSection section,
            List<WikiPageSection> aggregator)
        {
            Regex wikiLinkRE = new Regex(@"\[{2}(.+?)(\|.+?)?]{2}");
            Match m = wikiLinkRE.Match(section.Title);
            if (m.Success)
            {
                aggregator.Add(section);
            }
            return section.Reduce(aggregator, SubsectionsList);
        }

Same methods

ArticlesForDeletion::SubsectionsList ( WikiPageSection section, string aggregator ) : string