mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-13 23:03:54 +01:00
support for glob patterns
This commit is contained in:
parent
a8e658d1c4
commit
e1aaf7629b
7 changed files with 147 additions and 72 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue