How to match files in a directory with Fontconfig

Is it possible to create a match for font files in a specific directory?

Something akin to:

<match target="font">
  <test name="file">
    <string>/path/to/bmp/fonts/*</string>
  </test>
  <edit name="antialias"><bool>false</bool></edit>
</match>

As a side note, I cannot even make a file match work at all, even with full file paths.