Content deleted Content added
Ohconfucius (talk | contribs) tumour |
Ohconfucius (talk | contribs) No edit summary |
||
Line 126:
protect_string(/(Born in the U.S.A.)/g); // title of work
protect_string(/(Dear Mom|Serial Mom)/g); // title of work
protect_string(/(derailment)/gi);
protect_string(/(Traveling Wilburys?|Rockerfeller)/g); // proper noun
protect_string(/(to license)/gi); // verb
protect_string(/(improvis)/gi);
protect_string(/(non-cooperation)/gi);
protect_string(/(Organisation for Economic Co-operation and Development)/gi);
Line 133 ⟶ 135:
protect_string(/(solid gr[ae]y)/gi);
protect_string(/(rigor mortis)/gi);
protect_string(/(
protect_string(/((?:analy|peni)ses)/gi);
protect_string(/(World Health Organization)/gi);
Line 183 ⟶ 186:
// agrammatical
editor.replace(/(comprised )of /gi, '$1');
// old-fashioned
editor.replace(/(among)st /gi, '$1');
// hyphenation
Line 206 ⟶ 213:
'(ana|breatha|cata|hydro|para)lyz(e|ing)': '$1$2lys$3',
// 'bestsell': '$1best-sell', //disabled 24/04/24 following comment;word in OED
'ba(lk)': '$1u$2',
'diarrhea': '$1diarrhoea',
'(de|of)fense': '$1$2fence',
Line 350 ⟶ 358:
'annex(\\b)': '$1annexe$2',
'(ana|breatha|cata|hydro|para)lyz(e|ing)': '$1$2lys$3',
'bau(lk)': '$1ba$2',
'(de|of)fense': '$1$2fence',
'license': '$1licence',
Line 484 ⟶ 493:
'artefact': '$1artifact',
'(ana|breatha|cata|hydro|para)lys(e|ing)': '$1$2lyz$3',
'bau(lk)': '$1ba$2',
// 'bestsell': '$1best-sell', //disabled 24/04/24 following comment;word in OED
'diarrhoea': '$1diarrhea',
Line 606 ⟶ 616:
// remove US spelling from {{convert}} template output
// remove ambiguous dollar sign; rem incidental intervening space
editor.replace(/$ ?(\d)/g, '$$1');
▲ //editor.replace(/rigour mortis/g, 'rigor mortis');
// reconvert special cases
}
|