|
|
@ -415,7 +415,7 @@ class GatherEncountersWorker(QRunnable): |
|
|
|
|
|
|
|
|
def extract_routes(self, s): |
|
|
def extract_routes(self, s): |
|
|
# Find all route numbers, including those after "and" or separated by commas |
|
|
# Find all route numbers, including those after "and" or separated by commas |
|
|
route_pattern = r'Routes?\s+((?:\d+(?:,?\s+(?:and\s+)?)?)+)' |
|
|
route_pattern = r'Routes?\s?((?:\d+(?:,?\s+(?:and\s+)?)?)+)' |
|
|
route_match = re.search(route_pattern, s, re.IGNORECASE) |
|
|
route_match = re.search(route_pattern, s, re.IGNORECASE) |
|
|
|
|
|
|
|
|
if route_match: |
|
|
if route_match: |
|
|
|