10 lines
268 B
Python
Executable file
10 lines
268 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
|
|
def parse_specs(data: str):
|
|
diagnostics = []
|
|
for entry in data.strip().split():
|
|
if not entry or len(entry) < 9:
|
|
continue
|
|
range_part, _ = entry.split("|", 1)
|
|
start_str, end_str = range_part.split(",")
|