Created
February 13, 2020 21:41
-
-
Save stephancom/e0232b629321dc5f6594f60e79f63326 to your computer and use it in GitHub Desktop.
not quite working :(
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def unistrike(str) | |
# return "\u0336#{str}".unicode_normalize | |
str.split.map { |c| "\u0336#{c}".unicode_normalize }.join | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment