Skip to content

Commit 2253e71

Browse files
committed
replace search by fullmatch for regex
1 parent cff6ac5 commit 2253e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/core/fileUtils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def getFileElements(inputFilePath: str):
99

1010
filename = os.path.basename(inputFilePath)
11-
match = compiled_pattern.search(filename)
11+
match = compiled_pattern.fullmatch(filename)
1212
frameId_str = match.group("FRAMEID_STR")
1313

1414
fileElements = {}

0 commit comments

Comments
 (0)