C# Class WikiFunctions.WikiRegexes

Provides some common static regexes
Afficher le fichier Open project: reedy/AutoWikiBrowser Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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

MakeLangSpecificRegexes() public static méthode

public static MakeLangSpecificRegexes ( ) : void
Résultat 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
Résultat 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
Résultat System.Text.RegularExpressions.Regex

AllTemplateRedirectsHS public_oe static_oe property

HashSet of all loaded template redirects from [[WP:AWB/TR]]
public static HashSet AllTemplateRedirectsHS
Résultat 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
Résultat List

AmericanDates public_oe static_oe property

Matches dates in American format – "Month dd, YYYY"
public static Regex,System.Text.RegularExpressions AmericanDates
Résultat 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
Résultat System.Text.RegularExpressions.Regex

BASEPAGENAMETemplates public_oe static_oe property

Matches PAGENAME, PAGENAMEE, BASEPAGENAME, BASEPAGENAMEE templates
public static Regex,System.Text.RegularExpressions BASEPAGENAMETemplates
Résultat System.Text.RegularExpressions.Regex

BASEPAGENAMETemplatesL public_oe static_oe property

List of PAGENAME, PAGENAMEE, BASEPAGENAME, BASEPAGENAMEE templates
public static List BASEPAGENAMETemplatesL
Résultat List

BLPSources public_oe static_oe property

Matches the various {{BLP unsourced}} templates
public static Regex,System.Text.RegularExpressions BLPSources
Résultat 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
Résultat 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
Résultat 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
Résultat System.Text.RegularExpressions.Regex

Big public_oe static_oe property

Matches <big> tags
public static Regex,System.Text.RegularExpressions Big
Résultat 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
Résultat System.Text.RegularExpressions.Regex

Blockquote public_oe static_oe property

Matches <blockquote> tags
public static Regex,System.Text.RegularExpressions Blockquote
Résultat 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
Résultat 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
Résultat System.Text.RegularExpressions.Regex

Br public_oe static_oe property

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

BulletedText public_oe static_oe property

Matches indented, bulleted or numbered text
public static Regex,System.Text.RegularExpressions BulletedText
Résultat System.Text.RegularExpressions.Regex

CEHar public_oe static_oe property

Matches Current events header in arwiki
public static Regex,System.Text.RegularExpressions CEHar
Résultat 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
Résultat 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
Résultat System.Text.RegularExpressions.Regex

CategoryQuick public_oe static_oe property

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

Centuryinbox public_oe static_oe property

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

CircaLinkTemplate public_oe static_oe property

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

CircaTemplate public_oe static_oe property

Matches the {{circa}} template
public static Regex,System.Text.RegularExpressions CircaTemplate
Résultat 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
Résultat System.Text.RegularExpressions.Regex

Cites public_oe static_oe property

Matches <cite> tags
public static Regex,System.Text.RegularExpressions Cites
Résultat 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
Résultat System.Text.RegularExpressions.Regex

Comments public_oe static_oe property

Matches <!-- comments -->
public static Regex,System.Text.RegularExpressions Comments
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat Regex

DateYearMonthParameter public_oe static_oe property

Localized version of date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
public static string DateYearMonthParameter
Résultat 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
Résultat List

Dates public_oe static_oe property

Matches Dates like 21 January
public static Regex Dates
Résultat Regex

Dates2 public_oe static_oe property

Matches Dates like January 21
public static Regex Dates2
Résultat Regex

DayMonth public_oe static_oe property

Matches day month combinations in International format – "dd Month"
public static Regex DayMonth
Résultat Regex

DayMonthRangeSpan public_oe static_oe property

Matches day month ranges – "13–17 May"
public static Regex DayMonthRangeSpan
Résultat 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
Résultat Regex

DeadLink public_oe static_oe property

Matches {{dead link}} template and its redirects
public static Regex DeadLink
Résultat Regex

DeathDate public_oe static_oe property

Matches the various {{death date}} templates, group 1 being the year of death
public static Regex DeathDate
Résultat 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
Résultat 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
Résultat Regex

Defaultsort public_oe static_oe property

Matches {{DEFAULTSORT}}, "key" group being the sortkey
public static Regex Defaultsort
Résultat 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
Résultat 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
Résultat Regex

DisambigsCleanup public_oe static_oe property

Matches disambig cleanup templates
public static Regex DisambigsCleanup
Résultat Regex

DisambigsGeneral public_oe static_oe property

Matches general disambig templates
public static Regex DisambigsGeneral
Résultat Regex

DoublePipeLink public_oe static_oe property

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

EmptyBold public_oe static_oe property

Matches empty bold wikitags (zero or more whitespace)
public static Regex EmptyBold
Résultat Regex

EmptyComments public_oe static_oe property

Matches empty comments (zero or more whitespace)
public static Regex EmptyComments
Résultat Regex

EmptyLink public_oe static_oe property

public static Regex EmptyLink
Résultat Regex

EmptyTemplate public_oe static_oe property

public static Regex EmptyTemplate
Résultat 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
Résultat Regex

ExternalLinksHTTPOnly public_oe static_oe property

Matches external links only to http, https protocols
public static Regex ExternalLinksHTTPOnly
Résultat 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
Résultat Regex

ExternalLinksHeader public_oe static_oe property

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

ExtractTitle public_oe static_oe property

For extraction of page title from URLs
public static Regex ExtractTitle
Résultat Regex

FileNamespaceLink public_oe static_oe property

Matches links to the file namespace (images etc.), group 1 is the filename
public static Regex FileNamespaceLink
Résultat 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
Résultat Regex

GregorianYear public_oe static_oe property

Matches a number between 1000 and 2999
public static Regex GregorianYear
Résultat Regex

HarvTemplate public_oe static_oe property

Matches the various Harvard citation templates on en-wiki
public static Regex HarvTemplate
Résultat Regex

HeadingLevelThree public_oe static_oe property

Matches level 3 headings
public static Regex HeadingLevelThree
Résultat Regex

HeadingLevelTwo public_oe static_oe property

Matches level 2 headings
public static Regex HeadingLevelTwo
Résultat Regex

Headings public_oe static_oe property

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

HeadingsWhitespaceBefore public_oe static_oe property

public static Regex HeadingsWhitespaceBefore
Résultat Regex

ISODates public_oe static_oe property

Matches ISO 8601 format dates – YYYY-DD-MM – between 1600 and 2099
public static Regex ISODates
Résultat 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
Résultat Regex

Ibid public_oe static_oe property

Matches the {{Ibid}} template
public static Regex Ibid
Résultat Regex

IbidLocCitation public_oe static_oe property

Matches "ibid" and "op cit"
public static Regex IbidLocCitation
Résultat Regex

ImageMap public_oe static_oe property

Matches <imagemap> tags
public static Regex ImageMap
Résultat 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
Résultat Regex

ImagesCountOnly public_oe static_oe property

Faster version of Images, matches same items. For counting of matches only
public static Regex ImagesCountOnly
Résultat 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
Résultat 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
Résultat Regex

InUse public_oe static_oe property

Matches the {{In use}}/{{in creation}} templates
public static Regex InUse
Résultat Regex

Includeonly public_oe static_oe property

Matches <includeonly> and <onlyinclude> tags
public static Regex Includeonly
Résultat Regex

IncludeonlyNoinclude public_oe static_oe property

Matches <includeonly> and <onlyinclude> and <noinclude> tags
public static Regex IncludeonlyNoinclude
Résultat Regex

IndentedText public_oe static_oe property

Matches text indented with a :
public static Regex IndentedText
Résultat Regex

InfoBox public_oe static_oe property

Matches infoboxes, group 1 being the template name of the infobox
public static Regex InfoBox
Résultat Regex

InfoBoxDOBFields public_oe static_oe property

List of known infobox fields holding date of birth
public static List InfoBoxDOBFields
Résultat List

InfoBoxDODFields public_oe static_oe property

List of known infobox fields holding date of death
public static List InfoBoxDODFields
Résultat List

InfoBoxPOBFields public_oe static_oe property

public static List InfoBoxPOBFields
Résultat List

InfoBoxPODFields public_oe static_oe property

public static List InfoBoxPODFields
Résultat List

InternationalDates public_oe static_oe property

Matches dates in International format – "dd Month YYYY"
public static Regex InternationalDates
Résultat Regex

Italics public_oe static_oe property

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

LinkFGAs public_oe static_oe property

Matches {{Link FA|xxx}}, {{Link GA|xxx}}, {{Link FL|xxx}}
public static Regex LinkFGAs
Résultat Regex

LivingPeopleRegex2 public_oe static_oe property

Matches the {{recentlydeceased}} templates and its redirects
public static Regex LivingPeopleRegex2
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat Regex

MaintenanceTemplates public_oe static_oe property

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

MathPreSourceCodeComments public_oe static_oe property

Matches math, pre, source, code, syntaxhighlight tags or comments
public static Regex MathPreSourceCodeComments
Résultat Regex

MeaningsOfMinorPlanetNames public_oe static_oe property

Matches anything starting with Meanings of minor planet names
public static Regex MeaningsOfMinorPlanetNames
Résultat Regex

MetresFeetConversionNonBreakingSpaces public_oe static_oe property

Matches "50m (170&nbsp;ft)"
public static Regex MetresFeetConversionNonBreakingSpaces
Résultat Regex

MonthDay public_oe static_oe property

Matches month day combinations in American format – "Month dd"
public static Regex MonthDay
Résultat Regex

MonthDayRangeSpan public_oe static_oe property

Matches month day ranges – "May 13–17"
public static Regex MonthDayRangeSpan
Résultat 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
Résultat 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
Résultat string

MoreNoFootnotes public_oe static_oe property

Matches {{no footnotes}} OR {{more footnotes}} templates
public static Regex MoreNoFootnotes
Résultat Regex

MultipleIssues public_oe static_oe property

Matches the {{Multiple issues}} template
public static Regex MultipleIssues
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat Regex

NamespacesCaseInsensitive public_oe static_oe property

Variables.NamespacesCaseInsensitive compiled into regexes
public static Dictionary NamespacesCaseInsensitive
Résultat Regex>.Dictionary

NestedTemplates public_oe static_oe property

Matches single and multiline templates, AND those with nested templates
public static Regex NestedTemplates
Résultat Regex

NewUnReviewedArticle public_oe static_oe property

Matches the {{New unreviewed article}} template
public static Regex NewUnReviewedArticle
Résultat Regex

Newline public_oe static_oe property

Matches words
public static Regex Newline
Résultat Regex

NoGeneralFixes public_oe static_oe property

No General Fixes regex for checkpage parsing
public static Regex NoGeneralFixes
Résultat Regex

NoRETF public_oe static_oe property

No RegexTypoFix regex for checkpage parsing
public static Regex NoRETF
Résultat Regex

Noinclude public_oe static_oe property

Matches <noinclude> tags
public static Regex Noinclude
Résultat 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
Résultat 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
Résultat Regex

NotATypo public_oe static_oe property

Matches {{Not a typo}} template and redirects
public static Regex NotATypo
Résultat Regex

NotesHeader public_oe static_oe property

Matches the Notes level 2 heading
public static Regex NotesHeader
Résultat Regex

Nowiki public_oe static_oe property

Matches <nowiki> tags
public static Regex Nowiki
Résultat 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
Résultat Regex

PeopleFromCategory public_oe static_oe property

Matches the "People from ..." en-wiki categories
public static Regex PeopleFromCategory
Résultat Regex

PeopleInfoboxTemplates public_oe static_oe property

Matches people infoxboxes from Category:People infobox templates
public static Regex PeopleInfoboxTemplates
Résultat Regex

Percent public_oe static_oe property

Matches a percentage with a space or a non-breaking space
public static Regex Percent
Résultat Regex

Persondata public_oe static_oe property

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

PipedWikiLink public_oe static_oe property

Matches piped wikilinks, group 1 is target, group 2 the text
public static Regex PipedWikiLink
Résultat Regex

Poem public_oe static_oe property

Matches <poem> tags
public static Regex Poem
Résultat Regex

PortalTemplate public_oe static_oe property

Matches {{Portal}} template
public static Regex PortalTemplate
Résultat 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
Résultat Regex

PossiblyCommentedStub public_oe static_oe property

Matches both commented and uncommented stubs
public static Regex PossiblyCommentedStub
Résultat Regex

Pstyles public_oe static_oe property

Matches text within <p style...>...</p> HTML tags
public static Regex Pstyles
Résultat Regex

RFromModificationList public_oe static_oe property

public static string[] RFromModificationList
Résultat string[]

RFromOtherCapitaliastionList public_oe static_oe property

public static string[] RFromOtherCapitaliastionList
Résultat string[]

RFromTitleWithoutDiacriticsList public_oe static_oe property

public static string[] RFromTitleWithoutDiacriticsList
Résultat string[]

Redirect public_oe static_oe property

Matches redirects Don't use directly, use Tools.IsRedirect() and Tools.RedirectTarget instead
public static Regex Redirect
Résultat 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
Résultat Regex

ReferenceList public_oe static_oe property

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

ReferencesHeader public_oe static_oe property

Matches the References level 2 heading
public static Regex ReferencesHeader
Résultat 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
Résultat Regex

Refs public_oe static_oe property

Matches <ref> tags, including named references and condensed named references
public static Regex Refs
Résultat 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
Résultat 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
Résultat Regex

RemoveCatsAllCats public_oe static_oe property

public static Regex RemoveCatsAllCats
Résultat 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
Résultat 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
Résultat Regex

SIAs public_oe static_oe property

Matches SIA templates (en only)
public static Regex SIAs
Résultat 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
Résultat 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
Résultat Regex

ShortPagesMonitor public_oe static_oe property

Matches {{Short pages monitor}} plus comment, generated from {{subst:Long comment}}
public static Regex ShortPagesMonitor
Résultat 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
Résultat Regex

SisterLinks public_oe static_oe property

Matches the sister links templates such as {{wiktionary}}
public static Regex SisterLinks
Résultat Regex

SkipTOCTemplateRegex public_oe static_oe property

Matches the {{skip to talk}} template and its redirects
public static Regex SkipTOCTemplateRegex
Résultat 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
Résultat 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
Résultat Regex

StarRows public_oe static_oe property

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

Stub public_oe static_oe property

Matches stubs
public static Regex Stub
Résultat Regex

SupSub public_oe static_oe property

Matches <sup> and <sub> tags
public static Regex SupSub
Résultat Regex

SurnameClarificationTemplates public_oe static_oe property

Matches templates from [[Category:Hatnote templates for names]], excluding name order templates
public static Regex SurnameClarificationTemplates
Résultat 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
Résultat Regex

TargetLessLink public_oe static_oe property

public static Regex TargetLessLink
Résultat Regex

Template public_oe static_oe property

Matches single line templates, NOT nested templates
public static Regex Template
Résultat Regex

TemplateCall public_oe static_oe property

Matches templates, including templates with the template namespace prefix
public static Regex TemplateCall
Résultat Regex

TemplateEnd public_oe static_oe property

Matches the end of a template call including trailing whitespace
public static Regex TemplateEnd
Résultat Regex

TemplateMultiline public_oe static_oe property

Matches single and multiline templates, NOT nested templates
public static Regex TemplateMultiline
Résultat 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
Résultat 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
Résultat 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
Résultat string>.Dictionary

TemplateStart public_oe static_oe property

Piece of template call, including curly brace and possible namespace
public static string TemplateStart
Résultat string

ThreeOrMoreNewlines public_oe static_oe property

Matches three or more consecutive new lines
public static Regex ThreeOrMoreNewlines
Résultat Regex

UnPipedWikiLink public_oe static_oe property

Matches unpiped wikilinks, group 1 is text
public static Regex UnPipedWikiLink
Résultat 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
Résultat Regex

UnformattedText public_oe static_oe property

Matches unformatted text regions: nowiki, pre, math, html comments, timelines
public static Regex UnformattedText
Résultat 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
Résultat Regex

UnlinkedFloruit public_oe static_oe property

public static Regex UnlinkedFloruit
Résultat Regex

UnnamedReferences public_oe static_oe property

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

Unreferenced public_oe static_oe property

Matches the {{Unreferenced}} template
public static Regex Unreferenced
Résultat 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
Résultat Regex

UrlTemplate public_oe static_oe property

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

UrlValidator public_oe static_oe property

From http://www.dreamincode.net/code/snippet3490.htm
public static Regex UrlValidator
Résultat Regex

UseDatesTemplate public_oe static_oe property

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

UserSignature public_oe static_oe property

Matches links to use or user talk namespace
public static Regex UserSignature
Résultat Regex

WhiteSpace public_oe static_oe property

Matches consecutive whitespace
public static Regex WhiteSpace
Résultat Regex

Wi public_oe static_oe property

Matches Wiktionary redirect and Wikiquote redirect templates (en only)
public static Regex Wi
Résultat 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
Résultat Regex

WikiLinksOnly public_oe static_oe property

Matches only internal wiki links
public static Regex WikiLinksOnly
Résultat 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
Résultat 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
Résultat Regex

WikiProjectBannerShellTemplate public_oe static_oe property

Matches the {{WikiProject banner shell}} templates and its redirects
public static Regex WikiProjectBannerShellTemplate
Résultat Regex

Wikify public_oe static_oe property

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

WikipediaBooks public_oe static_oe property

Matches the {{Wikipedia books}} template
public static Regex WikipediaBooks
Résultat 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
Résultat Regex