"""Verifies two hex messages are equal even in case, their arguments are misplaced.
Converts hex message arguments to integers and sums them up and returns the sum."""
return sum(
- [int(x, 16) for x in re.compile("[a-f\d]{2}").findall(hex_string[32:])]
+ [int(x, 16) for x in re.compile(r"[a-f\d]{2}").findall(hex_string[32:])]
)