mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Shush hound - fix invalid escape sequence
This commit is contained in:
parent
196b91896b
commit
5bfb010fbf
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ def _templates_to_regex(templates,
|
|||
|
||||
# The filename templates don't include the extension so we add it
|
||||
# to be able to match the out filename beginning to end
|
||||
ext_regex = "(?P<ext>\.[A-Za-z][A-Za-z0-9-]*)"
|
||||
ext_regex = r"(?P<ext>\.[A-Za-z][A-Za-z0-9-]*)"
|
||||
search_regex = rf"^{search_regex}{ext_regex}$"
|
||||
|
||||
regexes[template] = search_regex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue