Bouni / kicad-jlcpcb-tools

Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.
MIT License
1.08k stars 102 forks source link

keywords such as 5k 1% doesn't work #471

Open JLA4444 opened 2 months ago

JLA4444 commented 2 months ago

Describe the bug The % wildcard is causing issues as keywords as 5k 1% doesn't work

To Reproduce Steps to reproduce the behavior:

  1. Assign component
  2. keywords: 5k 1%
  3. You have to remove 1% for it to work

Expected behavior I expect it to be able to easily find precision resistors

KiCad Version

Bouni commented 2 days ago

Search terms ar split by space, so we end up with 5k and 1%. The first is ignored because its less that 3 characters wide, the later also but % needs to be escaped which I belive is nt done at the moment. I'll look into this tomorrow (or maybe in the evening, we'll see)