Hello all,
I've started to give a try to the KoreLogic 2017 challenge as your team provided a nice writeup.
Challenge 1 is quite straightforward, except that I have some hard time to write a rule to get, from a dictionnary, the word "D1rections"
I used existing leetspeak.rule with some "c" and "$s" but unfortunately leet-transformations are applied to all occurrences. I've seen in the wiki that I can use "p" to choose a specific char position to overwrite, but I don't know how to deal with it as I cannot choose which char to overwrite Indeed, here I just want to overwrite possible leet chars.
AFAIK, the rule should replace char X at position p and replace it with char Y. And should be able to make iterations to replace 1,2,3,...,# char (if same char occur # times in the word), but I don't see anything like this in the wiki page.
Any idea ?
Thanks !
I've started to give a try to the KoreLogic 2017 challenge as your team provided a nice writeup.
Challenge 1 is quite straightforward, except that I have some hard time to write a rule to get, from a dictionnary, the word "D1rections"
I used existing leetspeak.rule with some "c" and "$s" but unfortunately leet-transformations are applied to all occurrences. I've seen in the wiki that I can use "p" to choose a specific char position to overwrite, but I don't know how to deal with it as I cannot choose which char to overwrite Indeed, here I just want to overwrite possible leet chars.
AFAIK, the rule should replace char X at position p and replace it with char Y. And should be able to make iterations to replace 1,2,3,...,# char (if same char occur # times in the word), but I don't see anything like this in the wiki page.
Any idea ?
Thanks !