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.
Metadata
Release files for tracardi-regex-validator 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tracardi-regex-validator-0.6.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tracardi_regex_validator-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / tracardi-regex-validator-0.6.1.tar.gz
| Download URL | tracardi-regex-validator-0.6.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebb7369a201a52b01cc198d2c7716ea68e08e3946d0d7a6b776ad93409aa9ff5
|
|
BLAKE2b-256 checksum How to use checksums |
d0c4c8ef5123242e8c9b162167a51a4d4ab487e4fcb93fb59361ce6da67ded85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / tracardi_regex_validator-0.6.1-py3-none-any.whl
| Download URL | tracardi_regex_validator-0.6.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e09ae018c954f001840babbcad62d928c50ee33aa419c30467643af803589484
|
|
BLAKE2b-256 checksum How to use checksums |
de7c4eaf6fb9110fb4e7e0e6ae74d29c17710188513bce3ba15987db7ed65be0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|