Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
validation: should use LINE per default #2603
Steps to Reproduce the Problem
kdb mount validation.ecf /tests validation kdb setmeta user/tests/hello check/validation "[0-9]*" kdb vset user/tests/hello abc "[0-9]*"
Users expect that now only digits are allowed.
The regex will always match.
Further Log Files and Output
Thank you so much! This should be an easy fix but usability-wise it is very important. Someone now worked one week (with breaks) on a specification and did not find out why the validation checks never failed.
Please make sure that you also update the documentation everywhere. (doc/help/kdb-vset.md src/plugins/validation/README.md) and also describe the new behavior in the Compatibility section of doc/news/_preparation_next_release.md
@markus2330 Just to make sure: Do you want to also skip the check/validation part before the regex part for usability or did you just forget it in your example?
The example in the man page of
Exactly this is what we want to achieve here. So if no "check/validation/match" is present, the validation plugin should assume LINE as default.
Please also describe what