C# Class WikiFunctions.WikiRegexes

Provides some common static regexes
Exibir arquivo Open project: reedy/AutoWikiBrowser Class Usage Examples

Public Properties

Property Type Description
AllTags System.Text.RegularExpressions.Regex
AllTemplateRedirects System.Text.RegularExpressions.Regex
AllTemplateRedirectsHS HashSet
AllTemplateRedirectsList List
AmericanDates System.Text.RegularExpressions.Regex
ArticleToFirstLevelTwoHeading System.Text.RegularExpressions.Regex
BASEPAGENAMETemplates System.Text.RegularExpressions.Regex
BASEPAGENAMETemplatesL List
BLPSources System.Text.RegularExpressions.Regex
BareExternalLink System.Text.RegularExpressions.Regex
BareRefExternalLink System.Text.RegularExpressions.Regex
BareRefExternalLinkBotGenTitle System.Text.RegularExpressions.Regex
Big System.Text.RegularExpressions.Regex
BirthsCategory System.Text.RegularExpressions.Regex
Blockquote System.Text.RegularExpressions.Regex
Bold System.Text.RegularExpressions.Regex
BoldItalics System.Text.RegularExpressions.Regex
Br System.Text.RegularExpressions.Regex
BulletedText System.Text.RegularExpressions.Regex
CEHar System.Text.RegularExpressions.Regex
CatImprove System.Text.RegularExpressions.Regex
Category System.Text.RegularExpressions.Regex
CategoryQuick System.Text.RegularExpressions.Regex
Centuryinbox System.Text.RegularExpressions.Regex
CircaLinkTemplate System.Text.RegularExpressions.Regex
CircaTemplate System.Text.RegularExpressions.Regex
CiteTemplate System.Text.RegularExpressions.Regex
Cites System.Text.RegularExpressions.Regex
ClockTime System.Text.RegularExpressions.Regex
Comments System.Text.RegularExpressions.Regex
CurlyDoubleQuotes System.Text.RegularExpressions.Regex
Currency System.Text.RegularExpressions.Regex
Dablinks Regex
DateBirthAndAge Regex
DateYearMonthParameter string
DatedTemplates List
Dates Regex
Dates2 Regex
DayMonth Regex
DayMonthRangeSpan Regex
DeadEnd Regex
DeadLink Regex
DeathDate Regex
DeathDateAndAge Regex
DeathsOrLivingCategory Regex
Defaultsort Regex
DeletionProtectionTags Regex
Disambigs Regex
DisambigsCleanup Regex
DisambigsGeneral Regex
DoublePipeLink Regex
EmptyBold Regex
EmptyComments Regex
EmptyLink Regex
EmptyTemplate Regex
ExternalLinks Regex
ExternalLinksHTTPOnly Regex
ExternalLinksHTTPOnlyQuick Regex
ExternalLinksHeader Regex
ExtractTitle Regex
FileNamespaceLink Regex
GalleryTag Regex
GregorianYear Regex
HarvTemplate Regex
HeadingLevelThree Regex
HeadingLevelTwo Regex
Headings Regex
HeadingsWhitespaceBefore Regex
ISODates Regex
ISODatesQuick Regex
Ibid Regex
IbidLocCitation Regex
ImageMap Regex
Images Regex
ImagesCountOnly Regex
ImagesNotTemplates Regex
ImperialUnitsInBracketsWithoutNonBreakingSpaces Regex
InUse Regex
Includeonly Regex
IncludeonlyNoinclude Regex
IndentedText Regex
InfoBox Regex
InfoBoxDOBFields List
InfoBoxDODFields List
InfoBoxPOBFields List
InfoBoxPODFields List
InternationalDates Regex
Italics Regex
LinkFGAs Regex
LivingPeopleRegex2 Regex
LooseCategory Regex
LooseImage Regex
MagicWordTemplates Regex
MagicWordsBehaviourSwitches Regex
MaintenanceTemplates Regex
MathPreSourceCodeComments Regex
MeaningsOfMinorPlanetNames Regex
MetresFeetConversionNonBreakingSpaces Regex
MonthDay Regex
MonthDayRangeSpan Regex
Months string
MonthsNoGroup string
MoreNoFootnotes Regex
MultipleIssues Regex
MultipleIssuesArticleMaintenanceTemplates Regex
MultipleIssuesSectionMaintenanceTemplates Regex
NamedReferences Regex
NamedReferencesIncludingCondensed Regex
NamespacesCaseInsensitive Regex>.Dictionary
NestedTemplates Regex
NewUnReviewedArticle Regex
Newline Regex
NoGeneralFixes Regex
NoRETF Regex
Noinclude Regex
NonDeadEndPageTemplates Regex
NonHTTPProtocols Regex
NotATypo Regex
NotesHeader Regex
Nowiki Regex
Orphan Regex
PeopleFromCategory Regex
PeopleInfoboxTemplates Regex
Percent Regex
Persondata Regex
PipedWikiLink Regex
Poem Regex
PortalTemplate Regex
PossibleInterwikis Regex
PossiblyCommentedStub Regex
Pstyles Regex
RFromModificationList string[]
RFromOtherCapitaliastionList string[]
RFromTitleWithoutDiacriticsList string[]
Redirect Regex
RefAfterReflist Regex
ReferenceList Regex
ReferencesHeader Regex
ReferencesTemplate Regex
Refs Regex
RefsGrouped Regex
RegexWordApostrophes Regex
RemoveCatsAllCats Regex
RenamedTemplateParameters List
ReversedItalics Regex
SIAs Regex
SectionLevelTwo Regex
SeeAlso Regex
ShortPagesMonitor Regex
SimpleWikiLink Regex
SisterLinks Regex
SkipTOCTemplateRegex Regex
Small Regex
SourceCode Regex
StarRows Regex
Stub Regex
SupSub Regex
SurnameClarificationTemplates Regex
TalkHeaderTemplate Regex
TargetLessLink Regex
Template Regex
TemplateCall Regex
TemplateEnd Regex
TemplateMultiline Regex
TemplateName Regex
TemplateNameRegex Regex
TemplateRedirects string>.Dictionary
TemplateStart string
ThreeOrMoreNewlines Regex
UnPipedWikiLink Regex
Uncat Regex
UnformattedText Regex
UnitsWithoutNonBreakingSpaces Regex
UnlinkedFloruit Regex
UnnamedReferences Regex
Unreferenced Regex
UntemplatedQuotes Regex
UrlTemplate Regex
UrlValidator Regex
UseDatesTemplate Regex
UserSignature Regex
WhiteSpace Regex
Wi Regex
WikiLink Regex
WikiLinksOnly Regex
WikiLinksOnlyPlusWord Regex
WikiLinksOnlyPossiblePipe Regex
WikiProjectBannerShellTemplate Regex
Wikify Regex
WikipediaBooks Regex
ZerothSection Regex

Public Methods

Method Description
GenerateNamespaceRegex ( ) : string

Generates a regex template for all variants of one or more namespace, e.g. "File|Image"

MakeLangSpecificRegexes ( ) : void

Method Details

GenerateNamespaceRegex() public static method

Generates a regex template for all variants of one or more namespace, e.g. "File|Image"
public static GenerateNamespaceRegex ( ) : string
return string

MakeLangSpecificRegexes() public static method

public static MakeLangSpecificRegexes ( ) : void
return void

Property Details

AllTags public_oe static_oe property

Matches all tags: <nowiki>, <pre>, <math>, <timeline>, <code>, <source>, <cite>, <syntaxhighlight>, <blockquote>, <poem>, <imagemap>, <includeonly>, <onlyinclude>, <noinclude>, <hiero>, <score>
public static Regex,System.Text.RegularExpressions AllTags
return System.Text.RegularExpressions.Regex

AllTemplateRedirects public_oe static_oe property

Nested template regex to match all loaded template redirects from [[WP:AWB/TR]]
public static Regex,System.Text.RegularExpressions AllTemplateRedirects
return System.Text.RegularExpressions.Regex

AllTemplateRedirectsHS public_oe static_oe property

HashSet of all loaded template redirects from [[WP:AWB/TR]]
public static HashSet AllTemplateRedirectsHS
return HashSet

AllTemplateRedirectsList public_oe static_oe property

List of all loaded template redirects from [[WP:AWB/TR]], used when HashSet AllTemplateRedirectsHS cannot be
public static List AllTemplateRedirectsList
return List

AmericanDates public_oe static_oe property

Matches dates in American format – "Month dd, YYYY"
public static Regex,System.Text.RegularExpressions AmericanDates
return System.Text.RegularExpressions.Regex

ArticleToFirstLevelTwoHeading public_oe static_oe property

Matches article text up to but not including first level 2 heading
public static Regex,System.Text.RegularExpressions ArticleToFirstLevelTwoHeading
return System.Text.RegularExpressions.Regex

BASEPAGENAMETemplates public_oe static_oe property

Matches PAGENAME, PAGENAMEE, BASEPAGENAME, BASEPAGENAMEE templates
public static Regex,System.Text.RegularExpressions BASEPAGENAMETemplates
return System.Text.RegularExpressions.Regex

BASEPAGENAMETemplatesL public_oe static_oe property

List of PAGENAME, PAGENAMEE, BASEPAGENAME, BASEPAGENAMEE templates
public static List BASEPAGENAMETemplatesL
return List

BLPSources public_oe static_oe property

Matches the various {{BLP unsourced}} templates
public static Regex,System.Text.RegularExpressions BLPSources
return System.Text.RegularExpressions.Regex

BareExternalLink public_oe static_oe property

Matches a line with a bare external link (no description or name of link)
public static Regex,System.Text.RegularExpressions BareExternalLink
return System.Text.RegularExpressions.Regex

BareRefExternalLink public_oe static_oe property

Matches a bare external link (URL only, no title) within a <ref> tag, group 1 being the URL
public static Regex,System.Text.RegularExpressions BareRefExternalLink
return System.Text.RegularExpressions.Regex

BareRefExternalLinkBotGenTitle public_oe static_oe property

Matches an external link (URL only, no title) within a <ref> tag with a bot generated title or no title, group 1 being the URL, group 2 being the title, if any
public static Regex,System.Text.RegularExpressions BareRefExternalLinkBotGenTitle
return System.Text.RegularExpressions.Regex

Big public_oe static_oe property

Matches <big> tags
public static Regex,System.Text.RegularExpressions Big
return System.Text.RegularExpressions.Regex

BirthsCategory public_oe static_oe property

Matches the XXXX births / xxth Century / XXXX BC births categories (en only)
public static Regex,System.Text.RegularExpressions BirthsCategory
return System.Text.RegularExpressions.Regex

Blockquote public_oe static_oe property

Matches <blockquote> tags
public static Regex,System.Text.RegularExpressions Blockquote
return System.Text.RegularExpressions.Regex

Bold public_oe static_oe property

Matches bold text, group 1 being the text in bold (wiki format ''' only)
public static Regex,System.Text.RegularExpressions Bold
return System.Text.RegularExpressions.Regex

BoldItalics public_oe static_oe property

Matches bold italic text, group 1 being the text in bold italics (wiki format ''''' only)
public static Regex,System.Text.RegularExpressions BoldItalics
return System.Text.RegularExpressions.Regex

Br public_oe static_oe property

Matches the <br/> tag and valid variants
public static Regex,System.Text.RegularExpressions Br
return System.Text.RegularExpressions.Regex

BulletedText public_oe static_oe property

Matches indented, bulleted or numbered text
public static Regex,System.Text.RegularExpressions BulletedText
return System.Text.RegularExpressions.Regex

CEHar public_oe static_oe property

Matches Current events header in arwiki
public static Regex,System.Text.RegularExpressions CEHar
return System.Text.RegularExpressions.Regex

CatImprove public_oe static_oe property

Matches the {{Cat improve}} template and its redirects
public static Regex,System.Text.RegularExpressions CatImprove
return System.Text.RegularExpressions.Regex

Category public_oe static_oe property

Matches categories, group 1 being the category name, group 2 being any sort key
public static Regex,System.Text.RegularExpressions Category
return System.Text.RegularExpressions.Regex

CategoryQuick public_oe static_oe property

Matches the start of a category link
public static Regex,System.Text.RegularExpressions CategoryQuick
return System.Text.RegularExpressions.Regex

Centuryinbox public_oe static_oe property

Matches {{Centuryinbox}} template and its redirects
public static Regex,System.Text.RegularExpressions Centuryinbox
return System.Text.RegularExpressions.Regex

CircaLinkTemplate public_oe static_oe property

Mathes the {{circa}} template and [[circa]] links
public static Regex,System.Text.RegularExpressions CircaLinkTemplate
return System.Text.RegularExpressions.Regex

CircaTemplate public_oe static_oe property

Matches the {{circa}} template
public static Regex,System.Text.RegularExpressions CircaTemplate
return System.Text.RegularExpressions.Regex

CiteTemplate public_oe static_oe property

Matches the various citation templates {{citation}}, {{cite web}} etc. on en-wiki
public static Regex,System.Text.RegularExpressions CiteTemplate
return System.Text.RegularExpressions.Regex

Cites public_oe static_oe property

Matches <cite> tags
public static Regex,System.Text.RegularExpressions Cites
return System.Text.RegularExpressions.Regex

ClockTime public_oe static_oe property

Matches 12-hour clock time without a non-breaking space
public static Regex,System.Text.RegularExpressions ClockTime
return System.Text.RegularExpressions.Regex

Comments public_oe static_oe property

Matches <!-- comments -->
public static Regex,System.Text.RegularExpressions Comments
return System.Text.RegularExpressions.Regex

CurlyDoubleQuotes public_oe static_oe property

Matches common curly double quotes, see [[MOS:PUNCT]]
public static Regex,System.Text.RegularExpressions CurlyDoubleQuotes
return System.Text.RegularExpressions.Regex

Currency public_oe static_oe property

Matches a currency symbol with a space or a non-breaking space
public static Regex,System.Text.RegularExpressions Currency
return System.Text.RegularExpressions.Regex

Dablinks public_oe static_oe property

Finds article disamiguation links from https://en.wikipedia.org/wiki/Wikipedia:Template_messages/General#Disambiguation_and_redirection and https://en.wikipedia.org/wiki/Template:Hatnote_templates (en only)
public static Regex Dablinks
return Regex

DateBirthAndAge public_oe static_oe property

Matches the various {{birth date and age}} templates, group 1 being the year of birth
public static Regex DateBirthAndAge
return Regex

DateYearMonthParameter public_oe static_oe property

Localized version of date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
public static string DateYearMonthParameter
return string

DatedTemplates public_oe static_oe property

List of templates that should be dated (with 'date=Month YYYY' on en-wiki), loaded as first letter upper from https://en.wikipedia.org/wiki/Wikipedia:AWB/Dated_templates, see Category:Wikipedia maintenance categories sorted by month
public static List DatedTemplates
return List

Dates public_oe static_oe property

Matches Dates like 21 January
public static Regex Dates
return Regex

Dates2 public_oe static_oe property

Matches Dates like January 21
public static Regex Dates2
return Regex

DayMonth public_oe static_oe property

Matches day month combinations in International format – "dd Month"
public static Regex DayMonth
return Regex

DayMonthRangeSpan public_oe static_oe property

Matches day month ranges – "13–17 May"
public static Regex DayMonthRangeSpan
return Regex

DeadEnd public_oe static_oe property

Matches {{Deadend|xxx}}, including in {{Multiple issues}}, group 1 is the {{Multiple issues}} template call up to the dead end tag
public static Regex DeadEnd
return Regex

DeadLink public_oe static_oe property

Matches {{dead link}} template and its redirects
public static Regex DeadLink
return Regex

DeathDate public_oe static_oe property

Matches the various {{death date}} templates, group 1 being the year of death
public static Regex DeathDate
return Regex

DeathDateAndAge public_oe static_oe property

Matches the {{death date and age}} template, group 1 being the year of death, group 2 being the year of birth
public static Regex DeathDateAndAge
return Regex

DeathsOrLivingCategory public_oe static_oe property

Matches the various categories for dead people on en wiki, and the living people category
public static Regex DeathsOrLivingCategory
return Regex

Defaultsort public_oe static_oe property

Matches {{DEFAULTSORT}}, "key" group being the sortkey
public static Regex Defaultsort
return Regex

DeletionProtectionTags public_oe static_oe property

matches speedy deletion templates (from Category:Speedy_deletion_templates), deletion templates (Category:Proposed_deletion-related_templates) and protection templates (Category:Protection_templates) Plus optional wiki comment(s) before and/or after
public static Regex DeletionProtectionTags
return Regex

Disambigs public_oe static_oe property

Matches disambig templates, supports language variants e.g. for en-wiki {{disambig}}, {{dab}}. Matches wiki comment on same line after template if present
public static Regex Disambigs
return Regex

DisambigsCleanup public_oe static_oe property

Matches disambig cleanup templates
public static Regex DisambigsCleanup
return Regex

DisambigsGeneral public_oe static_oe property

Matches general disambig templates
public static Regex DisambigsGeneral
return Regex

DoublePipeLink public_oe static_oe property

Matches wikilinks with double pipes e.g. [[text|text2|text3]] and [[text||text3]]
public static Regex DoublePipeLink
return Regex

EmptyBold public_oe static_oe property

Matches empty bold wikitags (zero or more whitespace)
public static Regex EmptyBold
return Regex

EmptyComments public_oe static_oe property

Matches empty comments (zero or more whitespace)
public static Regex EmptyComments
return Regex

EmptyLink public_oe static_oe property

public static Regex EmptyLink
return Regex

EmptyTemplate public_oe static_oe property

public static Regex EmptyTemplate
return Regex

ExternalLinks public_oe static_oe property

(Slowly) Matches external links to all Wikimedia-supported protocols http, https, ftp, mailto, irc, gopher, telnet, nntp, worldwind, news, svn, protocol-relative HTTP(S) Group 1 is the protocol name
public static Regex ExternalLinks
return Regex

ExternalLinksHTTPOnly public_oe static_oe property

Matches external links only to http, https protocols
public static Regex ExternalLinksHTTPOnly
return Regex

ExternalLinksHTTPOnlyQuick public_oe static_oe property

Matches external links only to http, https protocols. For performance, protocol is not part of match value
public static Regex ExternalLinksHTTPOnlyQuick
return Regex

ExternalLinksHeader public_oe static_oe property

Matches the external links level 2 heading, also "Other websites" for simple wikipedia
public static Regex ExternalLinksHeader
return Regex

ExtractTitle public_oe static_oe property

For extraction of page title from URLs
public static Regex ExtractTitle
return Regex

FileNamespaceLink public_oe static_oe property

Matches links to the file namespace (images etc.), group 1 is the filename
public static Regex FileNamespaceLink
return Regex

GalleryTag public_oe static_oe property

Matches <gallery> tags, group 1 is any tag parameters, group 2 is the tag contents
public static Regex GalleryTag
return Regex

GregorianYear public_oe static_oe property

Matches a number between 1000 and 2999
public static Regex GregorianYear
return Regex

HarvTemplate public_oe static_oe property

Matches the various Harvard citation templates on en-wiki
public static Regex HarvTemplate
return Regex

HeadingLevelThree public_oe static_oe property

Matches level 3 headings
public static Regex HeadingLevelThree
return Regex

HeadingLevelTwo public_oe static_oe property

Matches level 2 headings
public static Regex HeadingLevelTwo
return Regex

Headings public_oe static_oe property

Matches headings of all levels, group 1 being the heading name
public static Regex Headings
return Regex

HeadingsWhitespaceBefore public_oe static_oe property

public static Regex HeadingsWhitespaceBefore
return Regex

ISODates public_oe static_oe property

Matches ISO 8601 format dates – YYYY-DD-MM – between 1600 and 2099
public static Regex ISODates
return Regex

ISODatesQuick public_oe static_oe property

Quickly matches ISO 8601 format dates – YYYY-DD-MM – between 1600 and 2099. For counting matches
public static Regex ISODatesQuick
return Regex

Ibid public_oe static_oe property

Matches the {{Ibid}} template
public static Regex Ibid
return Regex

IbidLocCitation public_oe static_oe property

Matches "ibid" and "op cit"
public static Regex IbidLocCitation
return Regex

ImageMap public_oe static_oe property

Matches <imagemap> tags
public static Regex ImageMap
return Regex

Images public_oe static_oe property

Matches images: file namespace links (includes images within gallery tags), {{gallery}} template, image name parameters in infoboxes/templates
public static Regex Images
return Regex

ImagesCountOnly public_oe static_oe property

Faster version of Images, matches same items. For counting of matches only
public static Regex ImagesCountOnly
return Regex

ImagesNotTemplates public_oe static_oe property

Matches images: file namespace links (includes images within gallery tags), {{gallery}} template, but NOT image name parameters in infoboxes/templates
public static Regex ImagesNotTemplates
return Regex

ImperialUnitsInBracketsWithoutNonBreakingSpaces public_oe static_oe property

Matches abbreviated in, oz, feet when in brackets e.g. (3 in); avoids false positives such as "3 in 4..."
public static Regex ImperialUnitsInBracketsWithoutNonBreakingSpaces
return Regex

InUse public_oe static_oe property

Matches the {{In use}}/{{in creation}} templates
public static Regex InUse
return Regex

Includeonly public_oe static_oe property

Matches <includeonly> and <onlyinclude> tags
public static Regex Includeonly
return Regex

IncludeonlyNoinclude public_oe static_oe property

Matches <includeonly> and <onlyinclude> and <noinclude> tags
public static Regex IncludeonlyNoinclude
return Regex

IndentedText public_oe static_oe property

Matches text indented with a :
public static Regex IndentedText
return Regex

InfoBox public_oe static_oe property

Matches infoboxes, group 1 being the template name of the infobox
public static Regex InfoBox
return Regex

InfoBoxDOBFields public_oe static_oe property

List of known infobox fields holding date of birth
public static List InfoBoxDOBFields
return List

InfoBoxDODFields public_oe static_oe property

List of known infobox fields holding date of death
public static List InfoBoxDODFields
return List

InfoBoxPOBFields public_oe static_oe property

public static List InfoBoxPOBFields
return List

InfoBoxPODFields public_oe static_oe property

public static List InfoBoxPODFields
return List

InternationalDates public_oe static_oe property

Matches dates in International format – "dd Month YYYY"
public static Regex InternationalDates
return Regex

Italics public_oe static_oe property

Matches italic text, group 1 being the text in italics (wiki format '' only)
public static Regex Italics
return Regex

LinkFGAs public_oe static_oe property

Matches {{Link FA|xxx}}, {{Link GA|xxx}}, {{Link FL|xxx}}
public static Regex LinkFGAs
return Regex

LivingPeopleRegex2 public_oe static_oe property

Matches the {{recentlydeceased}} templates and its redirects
public static Regex LivingPeopleRegex2
return Regex

LooseCategory public_oe static_oe property

Matches Category links. Group 1 is the category name, group 2 is the pipe plus sortkey, if present.
public static Regex LooseCategory
return Regex

LooseImage public_oe static_oe property

Matches wikilinks to files/images, group 1 being the namespace, group 2 the image name, group 3 the description/any extra arguments
public static Regex LooseImage
return Regex

MagicWordTemplates public_oe static_oe property

List of Magic words from [[Category:Pages_which_use_a_template_in_place_of_a_magic_word]]
public static Regex MagicWordTemplates
return Regex

MagicWordsBehaviourSwitches public_oe static_oe property

List of magic words behaviour switches from https://en.wikipedia.org/wiki/Help:Magic_words#Behavior_switches
public static Regex MagicWordsBehaviourSwitches
return Regex

MaintenanceTemplates public_oe static_oe property

Matches the maintenance tags (en-wiki only) such as orphan, cleanup
public static Regex MaintenanceTemplates
return Regex

MathPreSourceCodeComments public_oe static_oe property

Matches math, pre, source, code, syntaxhighlight tags or comments
public static Regex MathPreSourceCodeComments
return Regex

MeaningsOfMinorPlanetNames public_oe static_oe property

Matches anything starting with Meanings of minor planet names
public static Regex MeaningsOfMinorPlanetNames
return Regex

MetresFeetConversionNonBreakingSpaces public_oe static_oe property

Matches "50m (170&nbsp;ft)"
public static Regex MetresFeetConversionNonBreakingSpaces
return Regex

MonthDay public_oe static_oe property

Matches month day combinations in American format – "Month dd"
public static Regex MonthDay
return Regex

MonthDayRangeSpan public_oe static_oe property

Matches month day ranges – "May 13–17"
public static Regex MonthDayRangeSpan
return Regex

Months public_oe static_oe property

Matches the month names and provides a capturing group when used in a regular expression
public static string Months
return string

MonthsNoGroup public_oe static_oe property

Matches the month names, without providing a capturing group when used in a regular expression
public static string MonthsNoGroup
return string

MoreNoFootnotes public_oe static_oe property

Matches {{no footnotes}} OR {{more footnotes}} templates
public static Regex MoreNoFootnotes
return Regex

MultipleIssues public_oe static_oe property

Matches the {{Multiple issues}} template
public static Regex MultipleIssues
return Regex

MultipleIssuesArticleMaintenanceTemplates public_oe static_oe property

Matches the cleanup templates that can be moved into the {{multiple issues}} article-level template
public static Regex MultipleIssuesArticleMaintenanceTemplates
return Regex

MultipleIssuesSectionMaintenanceTemplates public_oe static_oe property

Matches the cleanup templates that can be moved into the {{multiple issues}} section-level template
public static Regex MultipleIssuesSectionMaintenanceTemplates
return Regex

NamedReferences public_oe static_oe property

Matches full named references in format <ref name="foo">text</ref> Ref name is group 2, ref value is group 3
public static Regex NamedReferences
return Regex

NamedReferencesIncludingCondensed public_oe static_oe property

Matches named references in format <ref name="foo">text</ref> or <ref name="foo" /> Ref name is group 2, ref value is group 3
public static Regex NamedReferencesIncludingCondensed
return Regex

NamespacesCaseInsensitive public_oe static_oe property

Variables.NamespacesCaseInsensitive compiled into regexes
public static Dictionary NamespacesCaseInsensitive
return Regex>.Dictionary

NestedTemplates public_oe static_oe property

Matches single and multiline templates, AND those with nested templates
public static Regex NestedTemplates
return Regex

NewUnReviewedArticle public_oe static_oe property

Matches the {{New unreviewed article}} template
public static Regex NewUnReviewedArticle
return Regex

Newline public_oe static_oe property

Matches words
public static Regex Newline
return Regex

NoGeneralFixes public_oe static_oe property

No General Fixes regex for checkpage parsing
public static Regex NoGeneralFixes
return Regex

NoRETF public_oe static_oe property

No RegexTypoFix regex for checkpage parsing
public static Regex NoRETF
return Regex

Noinclude public_oe static_oe property

Matches <noinclude> tags
public static Regex Noinclude
return Regex

NonDeadEndPageTemplates public_oe static_oe property

Matches templates with many wikilinks to avoid tagging the transcluding page as dead-end and/or stub (en only)
public static Regex NonDeadEndPageTemplates
return Regex

NonHTTPProtocols public_oe static_oe property

Matches start of links to all Wikimedia-supported protocols except http, https: ftp, mailto, irc, gopher, telnet, nntp, worldwind, news, svn
public static Regex NonHTTPProtocols
return Regex

NotATypo public_oe static_oe property

Matches {{Not a typo}} template and redirects
public static Regex NotATypo
return Regex

NotesHeader public_oe static_oe property

Matches the Notes level 2 heading
public static Regex NotesHeader
return Regex

Nowiki public_oe static_oe property

Matches <nowiki> tags
public static Regex Nowiki
return Regex

Orphan public_oe static_oe property

Matches {{orphan}} tag, including in {{Multiple issues}}, named group MI is the {{Multiple issues}} template call up to the orphan tag
public static Regex Orphan
return Regex

PeopleFromCategory public_oe static_oe property

Matches the "People from ..." en-wiki categories
public static Regex PeopleFromCategory
return Regex

PeopleInfoboxTemplates public_oe static_oe property

Matches people infoxboxes from Category:People infobox templates
public static Regex PeopleInfoboxTemplates
return Regex

Percent public_oe static_oe property

Matches a percentage with a space or a non-breaking space
public static Regex Percent
return Regex

Persondata public_oe static_oe property

Matches {{persondata}} template, or {{personendaten}} on de-wiki
public static Regex Persondata
return Regex

PipedWikiLink public_oe static_oe property

Matches piped wikilinks, group 1 is target, group 2 the text
public static Regex PipedWikiLink
return Regex

Poem public_oe static_oe property

Matches <poem> tags
public static Regex Poem
return Regex

PortalTemplate public_oe static_oe property

Matches {{Portal}} template
public static Regex PortalTemplate
return Regex

PossibleInterwikis public_oe static_oe property

Matches links that may be interwikis, i.e. containing colon, group 1 being the wiki language, group 2 being the link target, group 3 any comment after the link
public static Regex PossibleInterwikis
return Regex

PossiblyCommentedStub public_oe static_oe property

Matches both commented and uncommented stubs
public static Regex PossiblyCommentedStub
return Regex

Pstyles public_oe static_oe property

Matches text within <p style...>...</p> HTML tags
public static Regex Pstyles
return Regex

RFromModificationList public_oe static_oe property

public static string[] RFromModificationList
return string[]

RFromOtherCapitaliastionList public_oe static_oe property

public static string[] RFromOtherCapitaliastionList
return string[]

RFromTitleWithoutDiacriticsList public_oe static_oe property

public static string[] RFromTitleWithoutDiacriticsList
return string[]

Redirect public_oe static_oe property

Matches redirects Don't use directly, use Tools.IsRedirect() and Tools.RedirectTarget instead
public static Regex Redirect
return Regex

RefAfterReflist public_oe static_oe property

Matches any of the recognised templates for displaying cite references followed by a >ref< reference
public static Regex RefAfterReflist
return Regex

ReferenceList public_oe static_oe property

Matches the "reflist", "references-small", "references-2column" references display templates
public static Regex ReferenceList
return Regex

ReferencesHeader public_oe static_oe property

Matches the References level 2 heading
public static Regex ReferencesHeader
return Regex

ReferencesTemplate public_oe static_oe property

Matches any of the recognised templates for displaying cite references e.g. {{reflist}}, {{refs}}, <references/>
public static Regex ReferencesTemplate
return Regex

Refs public_oe static_oe property

Matches <ref> tags, including named references and condensed named references
public static Regex Refs
return Regex

RefsGrouped public_oe static_oe property

Matches <ref> tags with group parameter, optionally named as well. Does not match regular named references
public static Regex RefsGrouped
return Regex

RegexWordApostrophes public_oe static_oe property

Matches words, and allows words with apostrophes to be treated as one whole word
public static Regex RegexWordApostrophes
return Regex

RemoveCatsAllCats public_oe static_oe property

public static Regex RemoveCatsAllCats
return Regex

RenamedTemplateParameters public_oe static_oe property

List of templates (first letter lower) with old parameter and new for parameter renaming
public static List RenamedTemplateParameters
return List

ReversedItalics public_oe static_oe property

Matches </i>...<i> reversed italics tags, group 1 being the content between the tags
public static Regex ReversedItalics
return Regex

SIAs public_oe static_oe property

Matches SIA templates (en only)
public static Regex SIAs
return Regex

SectionLevelTwo public_oe static_oe property

Matches the whole of a level 2 section including heading and any subsections up to but not including the next level 2 section
public static Regex SectionLevelTwo
return Regex

SeeAlso public_oe static_oe property

Matches the 'See also' level 2 heading, also "Related pages" for simple en-wiki
public static Regex SeeAlso
return Regex

ShortPagesMonitor public_oe static_oe property

Matches {{Short pages monitor}} plus comment, generated from {{subst:Long comment}}
public static Regex ShortPagesMonitor
return Regex

SimpleWikiLink public_oe static_oe property

Matches all wikilinks, categories, images etc. with nested links on same line. Group 1 is the link content
public static Regex SimpleWikiLink
return Regex

SisterLinks public_oe static_oe property

Matches the sister links templates such as {{wiktionary}}
public static Regex SisterLinks
return Regex

SkipTOCTemplateRegex public_oe static_oe property

Matches the {{skip to talk}} template and its redirects
public static Regex SkipTOCTemplateRegex
return Regex

Small public_oe static_oe property

Matches <small> tags, including nested tags. Group 1 is the text within the tags
public static Regex Small
return Regex

SourceCode public_oe static_oe property

Matches <source></source>, <syntaxhighlight>, <code></code>, <tt></tt> tags, group 1 is the tag contents
public static Regex SourceCode
return Regex

StarRows public_oe static_oe property

Matches a row beginning with an asterisk, allowing for spaces before
public static Regex StarRows
return Regex

Stub public_oe static_oe property

Matches stubs
public static Regex Stub
return Regex

SupSub public_oe static_oe property

Matches <sup> and <sub> tags
public static Regex SupSub
return Regex

SurnameClarificationTemplates public_oe static_oe property

Matches templates from [[Category:Hatnote templates for names]], excluding name order templates
public static Regex SurnameClarificationTemplates
return Regex

TalkHeaderTemplate public_oe static_oe property

Matches the {{talk header}} templates and its redirects. Also matches to whitespace after template, but not newline before a heading following
public static Regex TalkHeaderTemplate
return Regex

TargetLessLink public_oe static_oe property

public static Regex TargetLessLink
return Regex

Template public_oe static_oe property

Matches single line templates, NOT nested templates
public static Regex Template
return Regex

TemplateCall public_oe static_oe property

Matches templates, including templates with the template namespace prefix
public static Regex TemplateCall
return Regex

TemplateEnd public_oe static_oe property

Matches the end of a template call including trailing whitespace
public static Regex TemplateEnd
return Regex

TemplateMultiline public_oe static_oe property

Matches single and multiline templates, NOT nested templates
public static Regex TemplateMultiline
return Regex

TemplateName public_oe static_oe property

Matches templates: group 1 matches the names of templates. Not for templates including the template namespace prefix
public static Regex TemplateName
return Regex

TemplateNameRegex public_oe static_oe property

Matches the start of template calls to extract the template name, group 1 is the template name
public static Regex TemplateNameRegex
return Regex

TemplateRedirects public_oe static_oe property

Dictionary of template redirects (as a nested template regex) and the actual template name
public static Dictionary TemplateRedirects
return string>.Dictionary

TemplateStart public_oe static_oe property

Piece of template call, including curly brace and possible namespace
public static string TemplateStart
return string

ThreeOrMoreNewlines public_oe static_oe property

Matches three or more consecutive new lines
public static Regex ThreeOrMoreNewlines
return Regex

UnPipedWikiLink public_oe static_oe property

Matches unpiped wikilinks, group 1 is text
public static Regex UnPipedWikiLink
return Regex

Uncat public_oe static_oe property

Matches uncategorised templates: {{Uncat}}, {{Uncategorised}}, {{Uncategorised stub}} allowing for nested subst: {{uncategorised|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}
public static Regex Uncat
return Regex

UnformattedText public_oe static_oe property

Matches unformatted text regions: nowiki, pre, math, html comments, timelines
public static Regex UnformattedText
return Regex

UnitsWithoutNonBreakingSpaces public_oe static_oe property

Matches abbreviated SI units without a non-breaking space, notably does not correct millimetres without a space due to firearms articles using this convention
public static Regex UnitsWithoutNonBreakingSpaces
return Regex

UnlinkedFloruit public_oe static_oe property

public static Regex UnlinkedFloruit
return Regex

UnnamedReferences public_oe static_oe property

Matches unnamed references in format <ref>...</ref> group 1 being the reference text
public static Regex UnnamedReferences
return Regex

Unreferenced public_oe static_oe property

Matches the {{Unreferenced}} template
public static Regex Unreferenced
return Regex

UntemplatedQuotes public_oe static_oe property

Matches quotations outside of templates but within a pair of quotation marks, notably exlcuding straight single quotes
public static Regex UntemplatedQuotes
return Regex

UrlTemplate public_oe static_oe property

Matches the various url templates {{URL}} etc. on en-wiki
public static Regex UrlTemplate
return Regex

UrlValidator public_oe static_oe property

From http://www.dreamincode.net/code/snippet3490.htm
public static Regex UrlValidator
return Regex

UseDatesTemplate public_oe static_oe property

Matches the {{use dmy dates}} family of templates and redirects
public static Regex UseDatesTemplate
return Regex

UserSignature public_oe static_oe property

Matches links to use or user talk namespace
public static Regex UserSignature
return Regex

WhiteSpace public_oe static_oe property

Matches consecutive whitespace
public static Regex WhiteSpace
return Regex

Wi public_oe static_oe property

Matches Wiktionary redirect and Wikiquote redirect templates (en only)
public static Regex Wi
return Regex

WikiLink public_oe static_oe property

Matches all wikilinks (including interwikis, images, categories etc.) up to pipe or end of wikilink. Group 1 is the target of the wikilink
public static Regex WikiLink
return Regex

WikiLinksOnly public_oe static_oe property

Matches only internal wiki links
public static Regex WikiLinksOnly
return Regex

WikiLinksOnlyPlusWord public_oe static_oe property

Matches only internal wikilinks (with or without pipe) with extra word character(s) e.g. [[link]]age or [[here|link]]age https://en.wikipedia.org/wiki/Wikipedia_talk:AutoWikiBrowser/Feature_requests#Improve_HideText.HideMore.28.29
public static Regex WikiLinksOnlyPlusWord
return Regex

WikiLinksOnlyPossiblePipe public_oe static_oe property

Matches only internal wiki links, possibly with pipe; group 1 is target, group 2 is pipe text, if piped link
public static Regex WikiLinksOnlyPossiblePipe
return Regex

WikiProjectBannerShellTemplate public_oe static_oe property

Matches the {{WikiProject banner shell}} templates and its redirects
public static Regex WikiProjectBannerShellTemplate
return Regex

Wikify public_oe static_oe property

Matches {{wikify}}, {{underlinked}} tag (including within {{multiple issues}} for en-wiki)
public static Regex Wikify
return Regex

WikipediaBooks public_oe static_oe property

Matches the {{Wikipedia books}} template
public static Regex WikipediaBooks
return Regex

ZerothSection public_oe static_oe property

Matches the first section of an article, if the article has sections, else the whole article
public static Regex ZerothSection
return Regex