Regex Port : Corrigée

This commit is contained in:
Maximilien LEDOUX 2022-02-20 10:22:39 +01:00
parent fb5c14b28e
commit 90d36d38f9

View File

@ -1,6 +1,6 @@
//Standardized definitions
digit = [0-9];
port = [1-65536]{1,5}; TODO: Corriger
port = ((6553[0-5])|(655[0-2][0-9])|(65[0-4][0-9]{2})|(6[0-4][0-9]{3})|([1-5][0-9]{4})|([0-5]{0,5})|([0-9]{1,4}));
size = [0-9]{1,10};
line = \r\n;
visiblechar = \p{Print};