diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index bc6793f27159acfce61d6153fad3531b79efeb68..8d267be61d595436ad5b802df0f5461b7f78ebff 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -734,13 +734,14 @@ window.lispReplace = function(text) text = text.replace(/Zz/g, "Th"); text = text.replace(/ZZ/g, "TH"); text = text.replace(/Z/g, "Th"); + text = text.replace(/Cia/g, "Tha"); text = text.replace(/Ci/g, "Thi"); text = text.replace(/Ce/g, "The"); text = text.replace(/Cy/g, "Thy"); + text = text.replace(/CIA/g, "THA"); text = text.replace(/CI/g, "THI"); text = text.replace(/CE/g, "THE"); text = text.replace(/CY/g, "THY"); - text = text.replace(/C/g, "Th"); text = text.replace(/ss/g, "th"); text = text.replace(/sh/g, "th"); text = text.replace(/s/g, "th"); @@ -771,13 +772,13 @@ window.lispReplace = function(text) text = text.replace(/xU/g, "thU"); text = text.replace(/xY/g, "thY"); text = text.replace(/x/g, "ekth"); + text = text.replace(/cia/g, "tha"); text = text.replace(/ci/g, "thi"); text = text.replace(/ce/g, "the"); text = text.replace(/cy/g, "thy"); text = text.replace(/cI/g, "thI"); text = text.replace(/cE/g, "thE"); text = text.replace(/cY/g, "thY"); - text = text.replace(/c/g, "th"); return text; } diff --git a/src/js/storyJS.tw b/src/js/storyJS.tw index 2a4d4043c1dfbde394cd4c95d702d567b2ad5b5f..a7b467264b32026d2f9c3be20a3825accab9f771 100644 --- a/src/js/storyJS.tw +++ b/src/js/storyJS.tw @@ -731,13 +731,14 @@ window.lispReplace = function(text) text = text.replace(/Zz/g, "Th"); text = text.replace(/ZZ/g, "TH"); text = text.replace(/Z/g, "Th"); + text = text.replace(/Cia/g, "Tha"); text = text.replace(/Ci/g, "Thi"); text = text.replace(/Ce/g, "The"); text = text.replace(/Cy/g, "Thy"); + text = text.replace(/CIA/g, "THA"); text = text.replace(/CI/g, "THI"); text = text.replace(/CE/g, "THE"); text = text.replace(/CY/g, "THY"); - text = text.replace(/C/g, "Th"); text = text.replace(/ss/g, "th"); text = text.replace(/sh/g, "th"); text = text.replace(/s/g, "th"); @@ -768,13 +769,13 @@ window.lispReplace = function(text) text = text.replace(/xU/g, "thU"); text = text.replace(/xY/g, "thY"); text = text.replace(/x/g, "ekth"); + text = text.replace(/cia/g, "tha"); text = text.replace(/ci/g, "thi"); text = text.replace(/ce/g, "the"); text = text.replace(/cy/g, "thy"); text = text.replace(/cI/g, "thI"); text = text.replace(/cE/g, "thE"); text = text.replace(/cY/g, "thY"); - text = text.replace(/c/g, "th"); return text; }