Allow using zero in patterns passed to isoltest --test

This commit is contained in:
Kamil Śliwak
2020-09-17 17:28:49 +02:00
parent 7a5957512c
commit 89e696ca1b
+1 -1
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),