Fix find handles regex type filter
@@ -768,17 +768,12 @@ static BOOLEAN MatchTypeString(
_In_ PPH_HANDLE_SEARCH_CONTEXT Context,
_In_ PPH_STRINGREF Input
)
-{
- if (Context->SearchRegexCompiledExpression && Context->SearchRegexMatchData)
- return TRUE;
- else
{
if (PhEqualString2(Context->SearchTypeString, L"Everything", FALSE))
return TRUE;
return PhFindStringInStringRef(Input, &Context->SearchTypeString->sr, TRUE) != -1;
}
-}
typedef struct _SEARCH_HANDLE_CONTEXT
{
