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

Negative regex validation operator #96

Open
amir-zeldes opened this issue Sep 20, 2018 · 0 comments
Open

Negative regex validation operator #96

amir-zeldes opened this issue Sep 20, 2018 · 0 comments

Comments

@amir-zeldes
Copy link
Contributor

It should be possible to define negative regex matching for validation rules, e.g. to prevent hi_rend="italics" (supposing we want it to read "italic" if that value is used), we could do this:

, , ether, hi_rend, !~, italics

Where the operator is !~, and 'italics' is a regex pattern. The same operator should intuitively work for metadata validation too.

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