Fix bug in wildcard search handling.

This commit is contained in:
Jeff Young 2023-06-17 23:53:37 +01:00
parent fb40c202a1
commit 7f453d7943
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ bool EDA_PATTERN_MATCH_WILDCARD::SetPattern( const wxString& aPattern )
}
}
return EDA_PATTERN_MATCH_REGEX::SetPattern( regex );
return EDA_PATTERN_MATCH_REGEX::SetPattern( wxS( "/" ) + regex + wxS( "/" ) );
}