Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requiring match at a specific index in Rule based MustMatch tests #473

Open
gfs opened this issue Jul 14, 2022 · 0 comments
Open

Requiring match at a specific index in Rule based MustMatch tests #473

gfs opened this issue Jul 14, 2022 · 0 comments
Labels
enhancement New feature or request feedback wanted

Comments

@gfs
Copy link
Contributor

gfs commented Jul 14, 2022

With #472 we add the ability to include tests directly in Rule object JSON. These tests consist of an array of strings which must/must not match the rule.

A user may want to further have validation that a match occurs at a specified index or occurs a certain number of times.

I'm opening this issue to solicit user feedback if there is value in implementing an additional field must-match-with-indices or the like that would provide this.

@gfs gfs added enhancement New feature or request feedback wanted labels Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feedback wanted
Projects
None yet
Development

No branches or pull requests

1 participant