We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9f4b4f commit 5e79c81Copy full SHA for 5e79c81
1 file changed
aprslib/parsing/weather.py
@@ -63,7 +63,7 @@ def parse_weather_data(body):
63
return (body, parsed)
64
65
def parse_weather(body):
66
- match = re.match("^(\d{8})c[\. \d]{3}s[\. \d]{3}g[\. \d]{3}t[\. \d]{3}", body)
+ match = re.match(r"^(\d{8})c[\. \d]{3}s[\. \d]{3}g[\. \d]{3}t[\. \d]{3}", body)
67
if not match:
68
raise ParseError("invalid positionless weather report format")
69
0 commit comments