support for glob patterns

This commit is contained in:
Manuel Barkhau 2020-09-18 19:52:40 +00:00
parent a8e658d1c4
commit e1aaf7629b
7 changed files with 147 additions and 72 deletions

View file

@ -236,7 +236,7 @@ def _replace_pattern_parts(pattern: str) -> str:
)
last_start_idx = start_idx
return "(?P<version>" + result_pattern + ")"
return result_pattern
def compile_pattern_str(pattern: str) -> str: