diff --git a/ex00/src/BitcoinExchange.hpp b/ex00/src/BitcoinExchange.hpp index a434681..7edc06c 100644 --- a/ex00/src/BitcoinExchange.hpp +++ b/ex00/src/BitcoinExchange.hpp @@ -1,7 +1,7 @@ #pragma once -#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 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 INPUT 0 #define DATABASE 1