50 if( str.Length() == 1 )
59 return _(
"Signal name contains '{' and '}' but is not a valid bus name" );
61 else if( str.Contains(
'[' ) || str.Contains(
']' ) )
64 return _(
"Signal name contains '[' or ']' but is not a valid bus name." );
wxString IsValid(const wxString &aVal) const override
static bool ParseBusGroup(const wxString &aGroup, wxString *name, std::vector< wxString > *aMemberList)
Parse a bus group label into the name and a list of components.
static bool ParseBusVector(const wxString &aBus, wxString *aName, std::vector< wxString > *aMemberList)
Parse a bus vector (e.g.
static wxRegEx m_busGroupRegex
wxString IsValid(const wxString &aVal) const override
Definitions of control validators for schematic dialogs.