Open juliodiz opened 8 months ago
multicast-relay.py:742: SyntaxWarning: invalid escape sequence '\A' elif re.match('\A\d+.\d+.\d+.\d+\Z', interface): multicast-relay.py:751: SyntaxWarning: invalid escape sequence '\A' elif re.match('\A\d+.\d+.\d+.\d+/\d+\Z', interface):
Original:
elif re.match('\A\d+.\d+.\d+.\d+\Z', interface):
elif re.match('\A\d+.\d+.\d+.\d+/\d+\Z', interface):
CHANGE TO
elif re.match(r'\A\d+.\d+.\d+.\d+\Z', interface):
elif re.match(r'\A\d+.\d+.\d+.\d+/\d+\Z', interface):
multicast-relay.py:742: SyntaxWarning: invalid escape sequence '\A' elif re.match('\A\d+.\d+.\d+.\d+\Z', interface): multicast-relay.py:751: SyntaxWarning: invalid escape sequence '\A' elif re.match('\A\d+.\d+.\d+.\d+/\d+\Z', interface):
Original:
elif re.match('\A\d+.\d+.\d+.\d+\Z', interface):
elif re.match('\A\d+.\d+.\d+.\d+/\d+\Z', interface):
CHANGE TO
elif re.match(r'\A\d+.\d+.\d+.\d+\Z', interface):
elif re.match(r'\A\d+.\d+.\d+.\d+/\d+\Z', interface):