Assume there are two strings:
str1 = 'a\ba'
str2 = 'a'
If we use print to show those strings, all of them will print a.
But obviously, str1 == str2 is False.How could I check whether they are the same after escaping?
Expected output like: f(str1) == str2 is True,f() is the function to get the string after escaping.
I am not looking forward for some arithmetic ways to achieve that.