-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Please provide a toASCII API which tries to fit the character in ASCII range and returns a string. For example, the following holds true:
Homoglyph homoglyph = HomoglyphBuilder.build();
assertEquals("The quick brown fox jumps over the lazy dog",
homoglyph.toASCII("Τһе ԛυіϲκ Ьгоѡɴ ғох јυⅿрѕ оⅴег τһе ⅼаzу ԁоɡ"));It is useful in the scenarios where we want to run complex REGEX rules on (approximate) ASCII representation. Building complex regex tree equivalent with Homoglyph.search() API is not convenient (at least in certain cases).
redsk, samuel-p, emilburzo, VexianEmpire, codygray and 1 moreyvele
Metadata
Metadata
Assignees
Labels
No labels