This plugin validates data with regex pattern.
Project description
String Validator
This plugin validates data with regex pattern.
Configuration
This node requires configuration.
- validation_regex - this is regex pattern.
- data - data what we want to validate. this value can also be a path to date in profile, session, event.
Examples
{
"validation_regex": "^H",
"data": "payload@properties.hello" // This will return e.g. Hello world
}
It will return {"result":true}
{
"validation_regex": "^a",
"data": "hello!" // Now we use plain string instead of path to data.
}
It will return {"result":false}
Input
This node does not process input payload.
Output
This is two outputs {"result":true}
and {"result":false}
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tracardi-regex-validator-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58746ced01229d5ac6fec0164559daa3e24e8b4ada2b71ad50e496d45241064 |
|
MD5 | f82cd90f730c99591810d312b0123057 |
|
BLAKE2b-256 | 29ef3ace1e54af6d91a404ea512d8b2c62cb2a70e4ac5f369b3f6534ca8abec1 |
Close
Hashes for tracardi_regex_validator-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59f5e8afb21e82f58ecb0ad73ed5346be829731b43b37d3d5b9a24d29c9586e |
|
MD5 | 55eed22667f43861c104bb251d709cbe |
|
BLAKE2b-256 | 76b5a0fa652e04da549b059b7d20f77cb460c3bd9f59064921312be1e5a46318 |