terminate called after throwing an instance of 'std::regex_error'
Bonjour,
Dans ce code:
https://github.com/alphaonex86/Catch...erver.cpp#L101
Code:
GlobalServerData::serverPrivateVariables.datapack_rightFileName = std::regex(DATAPACK_FILE_REGEX);
https://github.com/alphaonex86/Catch...Variable.h#L59
Code:
#define DATAPACK_FILE_REGEX "^[0-9/a-z\\.\\- _]*[0-9a-z]\\.[a-z]{2,4}$"
J'ai au runtime:
terminate called after throwing an instance of 'std::regex_error'
J'a tout essayer, std::regex_constants::extended, ...
Un exemple simple ne pas pas de problème, donc je ne sais reproduire un cas d'erreur minimal.
gcc 4.9 et clang 3.5
Cordialement,