Regex : correction de DOMAIN

This commit is contained in:
Maximilien LEDOUX 2022-03-20 13:45:14 +01:00
parent 1943ab87a2
commit 3fe127b497

View File

@ -15,7 +15,7 @@ public class StandardizedDefinitions {
private final static String PASSWORD = PASSCHAR + "{5,50}"; private final static String PASSWORD = PASSCHAR + "{5,50}";
private final static String BL = "\\x20"; private final static String BL = "\\x20";
private final static String FILENAME = PASSCHAR + "{1,20}"; private final static String FILENAME = PASSCHAR + "{1,20}";
private final static String DOMAIN = "[a-z-A-Z0-9\\.]{5,20}"; private final static String DOMAIN = "[a-z-A-Z0-9.]{5,20}";
private final static String HASH_FILENAME = DIGIT_LETTER + "{50,200}"; private final static String HASH_FILENAME = DIGIT_LETTER + "{50,200}";
private final static String HASH_FILECONTENT = DIGIT_LETTER + "{50,200}"; private final static String HASH_FILECONTENT = DIGIT_LETTER + "{50,200}";
private final static String FILE_INFO = "(" + HASH_FILENAME + ")" + BL + "(" + SIZE + ")" + BL + "(" + HASH_FILECONTENT + ")"; private final static String FILE_INFO = "(" + HASH_FILENAME + ")" + BL + "(" + SIZE + ")" + BL + "(" + HASH_FILECONTENT + ")";