Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

I vs. l vs. 1 vs. | #13

@ariutta

Description

@ariutta

Case 1

I (I capital "eye") vs. l (l lowercase "ell") with just LATIN

Code:

from confusable_homoglyphs import confusables
confusables.is_confusable('I', preferred_aliases=['LATIN'], greedy=True)

Expected: at least l

Actual: False

Case 2

I (I capital "eye") vs. l (l lowercase "ell") vs. number 1 vs. pipe | with LATIN and COMMON

Code:

from confusable_homoglyphs import confusables
confusables.is_confusable('I', preferred_aliases=['LATIN', 'COMMON'], greedy=True)

Expected: at least l, |, 1

Actual: False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions