Make “Do Match / Does Contain / Is in the List” the Default Options
🚀 Feature Request
Summary
When creating new pattern-based templates, the default options are currently set to their negative forms:
-
Regular Expression: "do not match"
-
Contains Check: "does not contain"
-
Comparison Pattern with Set: "is not in the list of"
A more intuitive behavior would be to default to the positive forms:
"do match", "does contain" and "is in the list of"
Problem to Solve / User Story
As a user defining validation patterns, I want templates to default to the positive match option, so that I don’t accidentally configure an exclusion rule when I actually want to check for inclusion.
Proposed Solution
Change the defaults to:
-
Regular Expression → do match
-
Contains Check → does contain
-
Comparison Pattern with Set → is in the list of
Users should still be able to switch manually to the negative forms when needed.
Benefits
- More intuitive user experience (users typically expect a regex to match, not exclude).
- Fewer errors caused by accidentally leaving the option on "do not match".
- Faster template creation by reducing unnecessary clicks.
Additional Context
Currently, all three template types default to their negative forms, which is counterintuitive:
-
Regex: do not match
-
Contains Check: does not contain
-
Comparison Pattern with Set: is not in the list of
This should be adjusted not only for the existing templates but also ensured as a guideline for the creation of new templates, so that all future template types follow the same intuitive default (positive condition).