7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 16:10:10 +00:00

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

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( "/" ) );
}