Add support for pattern formats for `patternProperties`.