Skip to content

Commit

Permalink
fixed regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Oct 9, 2023
1 parent 29252b0 commit 1abbec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FastapiOpenRestyConfigurator/app/main/service/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
logger = logging.getLogger("service")
settings = get_settings()

file_regex = r"(\d*)%([a-z0-9\-\@]*)%([^%]*)%([^%]*)%([^%]*)\.conf"
file_regex = r"(\d*)%([a-z0-9\-\@.]*?)%([^%]*)%([^%]*)%([^%]*)\.conf"

async def random_with_n_digits(n):
range_start = 10**(n-1)
Expand Down

0 comments on commit 1abbec9

Please sign in to comment.