← Back to team overview

kicad-developers team mailing list archive

Footprint filter match behavior

 

Hi,

Currently, the footprint filter strings in a component match a footprint
if they occur *anywhere* in the footprint's name. This leads to some
possibly unintentional matches - for example, "R" has a filter "R_*",
which matches literally every footprint with R_ somewhere in its name.
This is quite a lot of footprints that are NOT resistors.

What if I changed this to require matching at the beginning of the
string? A filter meant to match anywhere in the string could be written
"*R_*" instead. This should significantly reduce the number of false
positive matches.

-- 
Chris


Follow ups