Re: XText.hmm (0.6)
Reply #12 –
Ha - you got me! ... yes, I considered it for a second, but I have not yet "interned" (in my mind) the Lua patterns (too much experience with the "big" regexps of C# etc.), so I am a little too cautious there. But right after uploading the script, I thought that the following much simpler code should work:
['%%1/8%%'] = 'H',
['%%ppp%%'] = 'P',
...
for k, v in pairs(replacements) do
text = string.gsub(text, k, v)
end
If you read this - do you have any complaints? - if not, I'll simply replace 0.6 (no functional change).
... I just did it
H.M.