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 payload
on valid
output port. invalid
port will stay inactive.
{
"validation_regex": "^a",
"data": "hello!" // Now we use plain string instead of path to data.
}
It will return payload
on invalid
output port. valid
port will stay inactive.
Input
This node does not process input payload.
Output
This plugin has to port valid and invalid. Depending on validation result the appropriate ports will be launched with payload copied as data.
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb7369a201a52b01cc198d2c7716ea68e08e3946d0d7a6b776ad93409aa9ff5 |
|
MD5 | f85207ccd362fc1fac113b3912217f9b |
|
BLAKE2b-256 | d0c4c8ef5123242e8c9b162167a51a4d4ab487e4fcb93fb59361ce6da67ded85 |
Close
Hashes for tracardi_regex_validator-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e09ae018c954f001840babbcad62d928c50ee33aa419c30467643af803589484 |
|
MD5 | 9ff67143babc7fdbe5466ba7fb011f4c |
|
BLAKE2b-256 | de7c4eaf6fb9110fb4e7e0e6ae74d29c17710188513bce3ba15987db7ed65be0 |