Unfortunately, the pattern is generated in one code module and stored in a file. Later on, in a different code module, the pattern is applied to a set of strings. For all other cases that I have, the pattern is a standard match pattern.
Currently, the second code module only understands how to run a pattern match, not how to invert the results of a pattern match.
I was hoping to avoid having to integrate specialized code into my general search algorithm.