I wanna to match string that contain \xa0, Like:
"\xa0" =~ /\xa0/
But error will throw with:
SyntaxError: (eval):2: invalid multibyte escape: /\xa0/
I am try to use Unicode to match:
"\xa0" =~ /\u00a0/
error will throw too:
ArgumentError: invalid byte sequence in UTF-8
So, how to match \xa0 in ruby