Fix Matches count check
This commit is contained in:
parent
b73efca091
commit
f48169864d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user