Allow using zero in patterns passed to isoltest --test

This commit is contained in:
Kamil Śliwak 2020-09-17 17:06:08 +02:00
parent 7a5957512c
commit 89e696ca1b

View File

@ -77,7 +77,7 @@ bool IsolTestOptions::parse(int _argc, char const* const* _argv)
void IsolTestOptions::validate() const
{
static std::string filterString{"[a-zA-Z1-9_/*]*"};
static std::string filterString{"[a-zA-Z0-9_/*]*"};
static std::regex filterExpression{filterString};
assertThrow(
regex_match(testFilter, filterExpression),