diff --git a/app/src/main/resources/rules.txt b/app/src/main/resources/rules.txt index 766386a..6af8e16 100644 --- a/app/src/main/resources/rules.txt +++ b/app/src/main/resources/rules.txt @@ -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};