I'm maintaining some c# software that contains a list of rules and each rule has a regex pattern as part of its definition. The regex pattern determines whether the rule should be applied to a particular data instance or not.
i.e. Given a particular string, apply the rule if the regex pattern matches against the string, but never apply the rule against strings that the regex pattern does not match.
I would like to deactivate some rules so that they never apply against any string.
So I need a regex pattern which does not match, no matter what string value is passed to it.
Any Suggestions?