The code to compute the index is repeating in 3 places. It should be made a function. You can add an addition patch to this pull request and I will merge then.

In long term, the list of characters that can be used has to be made a module parameter, for proper flexibility.


Reply to this email directly or view it on GitHub.