Skip to main content

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

tracardi-regex-validator-0.6.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracardi_regex_validator-0.6.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-regex-validator-0.6.1.tar.gz.

File metadata

  • Download URL: tracardi-regex-validator-0.6.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tracardi-regex-validator-0.6.1.tar.gz
Algorithm Hash digest
SHA256 ebb7369a201a52b01cc198d2c7716ea68e08e3946d0d7a6b776ad93409aa9ff5
MD5 f85207ccd362fc1fac113b3912217f9b
BLAKE2b-256 d0c4c8ef5123242e8c9b162167a51a4d4ab487e4fcb93fb59361ce6da67ded85

See more details on using hashes here.

File details

Details for the file tracardi_regex_validator-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: tracardi_regex_validator-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for tracardi_regex_validator-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e09ae018c954f001840babbcad62d928c50ee33aa419c30467643af803589484
MD5 9ff67143babc7fdbe5466ba7fb011f4c
BLAKE2b-256 de7c4eaf6fb9110fb4e7e0e6ae74d29c17710188513bce3ba15987db7ed65be0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page