From 90d36d38f9b1e2a6bc1e374ec02ec3dbc6cd572d Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Sun, 20 Feb 2022 10:22:39 +0100 Subject: [PATCH] =?UTF-8?q?Regex=20Port=20:=20Corrig=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/resources/rules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};