Skip to content

Add a mustNotMatch option to RegexEvaluator #128

Description

@fkapsahili

RegexEvaluator only checks that a pattern matches. Sometimes you want the opposite, like failing if the output contains a refusal or a banned phrase. A mustNotMatch flag would cover negative assertions without regex lookahead tricks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions