For vendor ID, decimal numbers are assumed, unless letters A-F are found, or the entry is started with "0x". In any case, out of range characters are stripped out of the query automatically.
Searches for a vendor name are substring searches, and are case insensitive.