fix: allow chinese names as pair names
This commit is contained in:
@@ -28,7 +28,7 @@ def expand_pairlist(
|
|||||||
raise ValueError(f"Wildcard error in {pair_wc}, {err}")
|
raise ValueError(f"Wildcard error in {pair_wc}, {err}")
|
||||||
|
|
||||||
# Remove wildcard pairs that didn't have a match.
|
# Remove wildcard pairs that didn't have a match.
|
||||||
result = [element for element in result if re.fullmatch(r"^[A-Za-z0-9:/-]+$", element)]
|
result = [element for element in result if re.fullmatch(r"^[\w:/-]+$", element)]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for pair_wc in wildcardpl:
|
for pair_wc in wildcardpl:
|
||||||
|
|||||||
Reference in New Issue
Block a user