- January 27, 2019 at 7:57 am #24216spirosParticipant
A list of replacements was used on the file source-text.txt:
*(/afaistos *(/agios *(/agnwn *(/alh *(/alios *(/alis *(/almos *(/alukos *(/alus *(/arma
In Notepad++ as notepadplusplus-findreplace.txt
Then the Python script Plugin was used to batch replace the characters
with open('C:/notepadplusplus-findreplace.txt') as f: for l in f: s = l.split() editor.replace(s, s)
The output was as expected (notepad-output.txt):
Ἅφαιστοσ Ἅγιοσ Ἅγνων Ἅλη Ἅλιοσ Ἅλισ Ἅλμοσ Ἅλυκοσ Ἅλυσ Ἅρμα
Tried same replacements with EmEditor with batch replace (emeditor-findreplace.tsv).
The output was unexpected, i.e.
Ἅφὰὶστὸσ Ἅγὶὸσ Ἅγνὼν Ἅλὴ Ἅλὶὸσ Ἅλὶσ Ἅλμὸσ Ἅλὺκὸσ Ἅλὺσ Ἅρμὰ
Any ideas why this difference? I suspect that replacements might not be done in a linear fashion which is important for this type of conversion.
Files hereFebruary 13, 2019 at 11:06 am #25417spirosParticipant
Hi, not sure if anyone had a chance to see why the replacement behaves in this I way, I just wanted to update that I tried the same replacements with an UltraEdit script, and it worked as expected; so I am guessing there is some sort of bug with EmEditor.
- You must be logged in to reply to this topic.