diff --git a/src/spmi/utils/pattern.py b/src/spmi/utils/pattern.py index 19be965..57eb39b 100644 --- a/src/spmi/utils/pattern.py +++ b/src/spmi/utils/pattern.py @@ -68,4 +68,4 @@ def is_pattern(self, string): def match(self, pattern, string): super().match(pattern, string) p = re.compile(pattern) - return p.match(string) + return p.fullmatch(string)