PropertyMatchesValve
Valve for checking if a property matches a specific regex.
If one or more values in the property matches the regex, the destination property is set to "true", otherwise "false".
Valve operates on the Current Item Set and will process all items surviving the common item filtering rules.
Properties
Example Configuration
{
"name": "PropertyMatchesValve",
"config": {
"source":"description",
"dest":"match_prop",
"regex":"[^0-9]*[12]?[0-9]{1,2}[^0-9]*"
}
}
Requirements
item set must have at least one entry.