Update for an #161 (preventing further skipping of non-heuristic parameters in ignore casted case)

This commit is contained in:
Miroslav Stampar
2012-08-22 11:56:30 +02:00
parent 7d0662da23
commit 8a5042b6a4
4 changed files with 15 additions and 7 deletions

View File

@@ -86,6 +86,11 @@ class CHARSET_TYPE:
ALPHA = 4,
ALPHANUM = 5
class HEURISTIC_TEST:
CASTED = 1,
NEGATIVE = 2,
POSITIVE = 3
class HASH:
MYSQL = r'(?i)\A\*[0-9a-f]{40}\Z'
MYSQL_OLD = r'(?i)\A(?![0-9]+\Z)[0-9a-f]{16}\Z'