User:Sun Creator/WikiCleanerTypos2

From Wikipedia, the free encyclopedia

This is Regex rule for testing WP:WPCleaner. Activated via own configuration file.

New additions[edit]

For ease of correcting errors in newly added rules, please add new rules at the top of this section.
<Typo word="Scot(land/s/sman/swoman/tish)" find="\bscot?(lands?|s(?:(?:wo)?m[ae]ns?)?|tish)\b(?![^\s\.]*\.\w)(?<!\.[^\s\.]{0,999})" replace="Scot$1"/>
<Typo word="Corresponde(nt/ce)" find="\b([Cc])orr[ei]spondan(ts?|ces?|cy)\b(?!\s+[Dd]es?\b)(?<!\b(?:[Ll]a|[Ll]es|des?|et)\s+\b([Cc])orr[ei]spondan(ts?|ces?|cy)\b(?!\s+[Dd]es?\b))" replace="$1orresponden$2" />
<!-- avoid French word correspondance(s) via lookaround for French articles -->

Back to top