Fix Matches count check
This commit is contained in:
parent
b73efca091
commit
f48169864d
@ -18,7 +18,7 @@ namespace RhSolutions.Api.Services
|
||||
return false;
|
||||
}
|
||||
var matches = Regex.Matches(query, pattern);
|
||||
if (matches.Count < 0)
|
||||
if (matches.Count == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user