ex00: fix: regex

This commit is contained in:
Camille Chauvet 2023-10-04 12:33:35 +00:00
parent 2675fb4866
commit 6e0271c5a2

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#define INPUT_PATERN "^[0-9]{4}\\-[0-9]{2}\\-[0-9]{2} \\| [+\\-]*[0-9]*(\\.[0-9]+)?$" #define INPUT_PATERN "^[0-9]{4}\\-[0-9]{2}\\-[0-9]{2} \\| [+\\-]*[0-9]+(\\.[0-9]+)?$"
#define DATA_PATERN "^[0-9]{4}\\-[0-9]{2}\\-[0-9]{2},[+\\-]*[0-9]*(\\.[0-9]+)?$" #define DATA_PATERN "^[0-9]{4}\\-[0-9]{2}\\-[0-9]{2},[+\\-]*[0-9]+(\\.[0-9]+)?$"
#define INPUT 0 #define INPUT 0
#define DATABASE 1 #define DATABASE 1