Searched refs:typo (Results 1 – 3 of 3) sorted by relevance
649 for (typo in typos.keys) { in <lambda>() variable650 if (doc.contains(typo)) { in <lambda>()651 val replacement = typos[typo] ?: continue in <lambda>()652 val new = doc.replace(Regex("\\b$typo\\b"), replacement) in <lambda>()657 … "Replaced $typo with $replacement in the documentation for $item" in <lambda>()
2775 my $typo = $1;2776 my $typo_fix = $spelling_fix{lc($typo)};2777 $typo_fix = ucfirst($typo_fix) if ($typo =~ /^[A-Z]/);2778 $typo_fix = uc($typo_fix) if ($typo =~ /^[A-Z]+$/);2782 "'$typo' may be misspelled - perhaps '$typo_fix'?\n" . $herecurr) &&2784 $fixed[$fixlinenr] =~ s/(^|[^A-Za-z@])($typo)($|[^A-Za-z@])/$1$typo_fix$3/;
120 fun `Fix typo replacement`() { in Fix typo replacement()