User:Sun Creator/WikiCleanerTypos2
Appearance
- Home
Introduction and rules - User manual
How to use AWB - Discussion
Discuss AWB, report errors, and request features - User tasks
Request or help with AWB-able tasks - Technical
Technical documentation
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 -->