Hacker GitHub

← All repos

wanderingstan/Confusables

View on GitHub ↗ ★ 154 Python

Simple library for matching a string to another string that is same but has letters that only *look* the same as original string

7 mentions on Hacker News by 2 people: 1 story, 6 comments · first 2021-09-28 · latest 2024-03-24

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. I wrote such a library for Python here: https://github.com/wanderingstan/Confusables My use case was to thwart spammers in our company’s channels, but I suppose it could be used to also normalize accent encoding issues. Basically converts…
    comment by wanderingstan · 2024-03-24 · in The ü/ü Conundrum
  2. …Unicode text by creating regex expressions; our company’s chat was being overrun by spammers. https://github.com/wanderingstan/Confusables From the readme: E.g. "℮1೦" would match "Hello" "Hello" gets turned into the following regex of…
    comment by wanderingstan · 2024-01-20 · in The revenge of Unicode
  3. …but the Readme hadn't been updated to reflect the lack of backslashes. Thanks for the find! Commit: https://github.com/wanderingstan/Confusables/commit/c4121428...
    comment by wanderingstan · 2022-08-21 · in Unicode Utilities: Confusables
  4. Years ago I created a Python library for generating regex to match confusables: https://github.com/wanderingstan/Confusables For example, "𝓗℮𝐥1೦" matches "Hello". "Hello" gets turned into the following regex of character classes:…
    comment by wanderingstan · 2022-08-21 · in Unicode Utilities: Confusables
  5. …strings obfuscated this way. Was critical when moderating our telegram channel before an ICO. https://github.com/wanderingstan/Confusables E.g. "𝓗℮𝐥1೦" would match "Hello"
  6. …strings obfuscated this way. Was critical when moderating our telegram channel before an ICO. https://github.com/wanderingstan/Confusables E.g. "𝓗℮𝐥1೦" would match "Hello"