We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3955300 commit 7e33bd7Copy full SHA for 7e33bd7
cryptacular/bcrypt/__init__.py
@@ -37,7 +37,7 @@ class BCRYPTPasswordManager(object):
37
PREFIX = "$2a$"
38
_rounds = 10
39
40
- _bcrypt_syntax = re.compile("\$2a\$[0-9]{2}\$[./A-Za-z0-9]{53}")
+ _bcrypt_syntax = re.compile(r"\$2a\$[0-9]{2}\$[./A-Za-z0-9]{53}")
41
42
def encode(self, text, rounds=None):
43
"""Hash a password using bcrypt.
0 commit comments