Merge branch 'master' into 46-docstrings

This commit is contained in:
Sergi Delgado Segura
2019-12-16 12:02:04 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -11,4 +11,4 @@ def check_sha256_hex_format(value):
Returns:
:mod:`bool`: Wether or not the value matches the format.
"""
return isinstance(value, str) and re.search(r"^[0-9A-Fa-f]{64}$", value) is not None
return isinstance(value, str) and re.match(r"^[0-9A-Fa-f]{64}$", value) is not None