Fix some instances of the possessive of Marquis
This commit is contained in:
parent
1da99791d3
commit
6751136bec
1 changed files with 4 additions and 2 deletions
|
|
@ -403,14 +403,16 @@ function enDashJointNames(xml) {
|
|||
}
|
||||
|
||||
function fixPossessives(xml) {
|
||||
// Fix possessive of names ending in "s"
|
||||
// Note: if the "s" is unvoiced, as in Marquis, then it doesn't get the second "s".
|
||||
// Fix possessive of names ending in "s".
|
||||
xml = xml.replace(
|
||||
// eslint-disable-next-line max-len
|
||||
/(?<!‘)(Judas|Brutus|Jess|Aegis|Dauntless|Circus|Sirius|Brooks|Genesis|Atlas|Lucas|Gwerrus|Chris|Eligos|Animos|Mags|Huntress|Hephaestus|Lord of Loss|John Combs|Mama Mathers|Monokeros|Goddess|Boundless|Paris|Tress|Harris|Antares|Nieves|Backwoods|Midas|Mrs. Sims|Ms. Stillons|Chuckles|Amias|Semiramis)’(?!s)/g,
|
||||
"$1’s"
|
||||
);
|
||||
|
||||
// Note: if the "s" is unvoiced, as in Marquis, then it doesn't get the second "s".
|
||||
xml = xml.replace(/Marquis’s/g, "Marquis’");
|
||||
|
||||
// This one is not just missing the extra "s"; it's often misplaced.
|
||||
xml = xml.replace(/Warden’s/g, "Wardens’");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue