Is there any way to be able to catch all exceptions when doing string matching? For example if I have a string,
print("red" =="red" )
# evaluates to True
However,
print("Rεժ" == "red")
# evaluates to False
What I would like is to be able to catch all the special cases such as the following
print("Rεժ" == "red")
print("RêÐ" == "red")
to be evaluated to be True
. The use-case for this is to be able to have some sort of text filtering to be able to catch all the words "red".