We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21337a5 commit 5ad93a4Copy full SHA for 5ad93a4
script.py
@@ -19,9 +19,9 @@ def main():
19
groups = {}
20
for match in matches:
21
assert len(match) == 3
22
- values = re.findall(r"([\w\-]+(?:\.[\d]+){0,2})+", match[2])
+ values = re.findall(r"([\w\s\-]+(?:\.[\d]+){0,2})+", match[2])
23
assert len(values)
24
- groups[match[1]] = [{match[1]: value} for value in values]
+ groups[match[1]] = [{match[1]: value.strip()} for value in values]
25
for value in product(*groups.values()):
26
matrix_item = {}
27
for item in value:
0 commit comments