Skip to content
Snippets Groups Projects
Commit fc9761d2 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Be more explicit about ids matching the whole id string

parent d5076f4f
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ def parse_id_match(id_matches):
def re_from_glob(s):
import re
from fnmatch import translate
return re.compile(translate(s.strip()))
return re.compile("^"+translate(s.strip())+"$")
if not isinstance(id_match, tuple):
components = id_match.split("$")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment