summaryrefslogtreecommitdiff
path: root/src/helpers/validate-value.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/validate-value.py')
-rwxr-xr-xsrc/helpers/validate-value.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/validate-value.py b/src/helpers/validate-value.py
index e49bfb6f4..d702739b5 100755
--- a/src/helpers/validate-value.py
+++ b/src/helpers/validate-value.py
@@ -18,7 +18,7 @@ debug = False
try:
for r in args.regex:
- if re.match(r, args.value):
+ if re.fullmatch(r, args.value):
sys.exit(0)
except Exception as exn:
if debug: