Provide a rule template that allows you to specify several match patterns individually and have it raise an issue only when all are present. Today you can use the multiline (DOTALL) regex rule template type to do this but you have to figure out how to express in your expression that the patterns can appear in any order. It's simpler for the user to be able to specify several patterns independently. Maybe allow for up to 5 patterns and ignore any unused leftover pattern fields.
Provide a rule template that allows you to specify several match patterns individually and have it raise an issue only when all are present. Today you can use the multiline (DOTALL) regex rule template type to do this but you have to figure out how to express in your expression that the patterns can appear in any order. It's simpler for the user to be able to specify several patterns independently. Maybe allow for up to 5 patterns and ignore any unused leftover pattern fields.