Closed skinner12 closed 3 months ago
Resolved the unsupported escape sequence warning by escaping the backslash in the regular expression pattern: (?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$ on line 1680 of file belchertown.py.
(?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$
1680
belchertown.py
Before: "(?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$"
"(?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$"
After: "(?P<distance>[0-9]*\\.?[0-9]+) km(?P<rest>.*)$"
"(?P<distance>[0-9]*\\.?[0-9]+) km(?P<rest>.*)$"
Resolved the unsupported escape sequence warning by escaping the backslash in the regular expression pattern:
(?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$
on line1680
of filebelchertown.py
.Before:
"(?P<distance>[0-9]*\.?[0-9]+) km(?P<rest>.*)$"
After:
"(?P<distance>[0-9]*\\.?[0-9]+) km(?P<rest>.*)$"