Extension matchers are ordinary string predicates, not regexes.

This is more general, and since Sets are functions it lets one accept
sets of extensions.