Module talk:Transliterator

From Linguifex
Jump to: navigation, search

Deobfuscation suggestion

Hi, @Учхљёная: I just came across this page, and it's nice I'm not the only one messing with modules here on Linguifex; I'm not fluent enough to deserve that title! However, I believe you could deobfuscate things a bit, if you wish, by using a for loop, as in Module:dzh-translit or the dozens of others in Wiktionary. That method uses regex instead of individual characters and lets you use patterns instead of exact matches. The article above seems daunting, but the most basic operators suffice for our purposes (Scribunto regex is a watered-down version). Anyhow, this won't change the output; it just looks tidier and may be more efficient. If you need help, I'll be glad to help you out. Cheers, sware • 🗣 • 🏲 19:13, 7 September 2022 (UTC)