A tricky one... problem is that "head" is in string "headdress" so simple include/exclude doesn't work (either you don't have headdress, or you also have all heads...)
This seems to work fine (file %AppData%\Roaming\LDCad\partBin\default\sorted minifigHatsHair.pbg)
This seems to work fine (file %AppData%\Roaming\LDCad\partBin\default\sorted minifigHatsHair.pbg)
Code:
[options]
kind=filter
caption=Hats and hair
description=Minifig hats and hair
picture=
mascot=3834.dat
sortOn=description
sortDesc=false
sortCaseInSens=true
sourceInv=parts
<rules>
include category minifig
include category minifig accessory
include category minifig headwear
exclude description ~*,_*,=*
exclude !description hat,helmet,hair,cap,headdress
keep description headdress
exclude description head,friend,torso,minifig shield,brush