splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

RegexValidationValidator for search commands

Open glennblock opened this issue 11 years ago • 3 comments

Currently search commands have the RegularExpression validator which checks whether or not the value is a valid regular expression. This is useful for enforcing that the value that is provide is a valid regex.

It would also be nice to have a validator which is initialized with a regex that it uses to validate the value. For example you can provide a regex for an SSN.

glennblock avatar Aug 06 '15 04:08 glennblock

This feature is committed to the develop branch which contains a number of new features/bug fixes. See CHANGELOG.md for additional information.

David-Noble-at-work avatar Sep 24 '15 17:09 David-Noble-at-work

We've just released v1.5.0 to address this.

shakeelmohamed avatar Oct 02 '15 00:10 shakeelmohamed

Yup, I saw, I reported it :-)

On Thu, Oct 1, 2015 at 5:06 PM Shakeel Mohamed [email protected] wrote:

Closed #116 https://github.com/splunk/splunk-sdk-python/issues/116.

— Reply to this email directly or view it on GitHub https://github.com/splunk/splunk-sdk-python/issues/116#event-424820349.

glennblock avatar Oct 02 '15 00:10 glennblock