0
0

Fix Matches count check

This commit is contained in:
Serghei Cebotari 2023-10-06 15:25:04 +03:00
parent b73efca091
commit f48169864d

View File

@ -18,7 +18,7 @@ namespace RhSolutions.Api.Services
return false; return false;
} }
var matches = Regex.Matches(query, pattern); var matches = Regex.Matches(query, pattern);
if (matches.Count < 0) if (matches.Count == 0)
{ {
return false; return false;
} }