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

Instead of character based string exclusion, excluding the entire search string #227

Open
mifrank-cg opened this issue Sep 5, 2023 · 0 comments

Comments

@mifrank-cg
Copy link

The string validation str(exclude='abcd') prohibits the occurrence of each single character of the exclude string.
But I would like to prohibit the occurrence of the entire string "abcd". So, I would like to prohibit specific words.
Unfortunately, the options are too many, so I cannot allow them with "enum", instead I would like to define the not allowed words in my yaml file.

@mifrank-cg mifrank-cg changed the title Instead of character based string exclusion excluding the entire search string Instead of character based string exclusion, excluding the entire search string Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant