Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrv committed Jul 12, 2024
1 parent 5309dca commit 7f50411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_snippets/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def __init__(self, resource_paths, code, module=None, suffix=EXE_SUFFIX):
suffix = EXE_SUFFIX
if module is None:
module = code
self._regex = re.compile(f"run_{code}_(.*)\.{suffix}$")
self._regex = re.compile(f"run_{code}_(.*)\\.{suffix}$")
self._glob = f'run_{code}_*.{suffix}'
self._resolver = ResourceResolver(
resource_paths,
Expand Down

0 comments on commit 7f50411

Please sign in to comment.