Fix possessive of Semiramis

This commit is contained in:
Domenic Denicola 2020-11-23 17:49:17 -05:00
commit 2eafeee814

View file

@ -403,7 +403,7 @@ function fixPossessives(xml) {
// Note: if the "s" is unvoiced, as in Marquis, then it doesn't get the second "s". // Note: if the "s" is unvoiced, as in Marquis, then it doesn't get the second "s".
xml = xml.replace( xml = xml.replace(
// eslint-disable-next-line max-len // 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)’(?!s)/g, /(?<!‘)(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" "$1’s"
); );