-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skeleton function #23
Comments
Is https://github.com/woodgern/confusables/blob/master/confusables/__init__.py#L54-L79 |
@don-mums |
Maybe OP is talking about https://gitlab.com/dirn/flake8-confusables? In my case, line https://gitlab.com/dirn/flake8-confusables/-/blob/master/flake8_confusables.py#L39 blows up, and the flake8-confusables developer hasn't specified a |
Sorry I've lost all context from this issue. I don't work for the company where we needed this. I even switched Python for Elixir. I don't care. I'm closing this so nobody is wasting time looking into this when i apparently has solution. |
Hi!
There used to be confusables for python that I forked and no longer exists. It had one very useful function
skeleton()
. It returned string that transformed all confusables to normalized values. So you could detect that original strings don't match but normalized strings match. LikeA
in latin andА
in azbuka.https://github.com/don-mums/confusables/blob/master/confusables.py
Is this something you would like to include into your project? The only thing I found that remotely resembles
skeleton()
is_asciify()
but this also removes all non ascii characters, which is not very useful for us. As you can see on the example below.The text was updated successfully, but these errors were encountered: