Update src/Common/OptimizedRegularExpression.cpp

This commit is contained in:
Yakov Olkhovskiy 2023-08-01 13:43:28 -04:00 committed by GitHub
parent e5240f900b
commit 7aecec8bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ const char * analyzeImpl(
break; break;
} }
} }
/// (?regex) means non-capturing parentheses group /// (?:regex) means non-capturing parentheses group
if (pos + 2 < end && pos[1] == '?' && pos[2] == ':') if (pos + 2 < end && pos[1] == '?' && pos[2] == ':')
{ {
pos += 2; pos += 2;