Matches All
Matches All
Compares a set of values and checks if all conditions match.
Matches
Each match has two parts
Value
The value to use in the match, this can be variables
Expression
The expression to match the value against.
This can be a regular expression, a basic string, or a math operation
String Operations
The following math operations can be used on String values
Operation | Description | Example |
---|---|---|
= | Matches the value exactly | abc |
*value* | Matches if the value contains the specified string | *abc* |
value* | Matches if the value starts with the specified string | abc* |
*value | Matches if the value ends with the specified string | *abc |
!value | Matches if the value does not equal the specified string | !abc |
!*value* | Matches if the value does not contain the specified string | !*abc* |
!value* | Matches if the value does not start with the specified string | !abc* |
!*value | Matches if the value does not end with the specified string | !*abc |
/regex/ | Matches if the value matches the regular expression pattern | /^abc.*$/ |
!/regex/ | Matches if the value does not match the regular expression pattern | !/^abc.*$/ |
Note
All comparisons are case-insensitive.
Math Operations
The following math operations can be used on Numeric values
Note: All comparisons are case-insensitive.
Operation | Description | Example |
---|---|---|
= | Matches the value exactly | abc |
*value* | Matches if the value contains the specified string | *abc* |
*value | Matches if the value starts with the specified string | *abc |
value* | Matches if the value ends with the specified string | abc* |
!value | Matches if the value does not equal the specified string | !abc |
Math Units
All Math units are case insenstive so you can use `MB` or `mb`
Unit | Description | Example | Actual |
---|---|---|---|
kbps | Multiples the value by 1,000 | 5Kbps | 5000 |
mbps | Multiples the value by 1,000,000 | 10mbps | 10000000 |
kb | Multiples the value by 1,000 | 5KB | 5000 |
mb | Multiples the value by 1,000,000 | 10mb | 10000000 |
gb | Multiples the value by 1,000,000,000 | 5gb | 5000000000 |
tb | Multiples the value by 1,000,000,000,000 | 5tb | 5000000000000 |
kib | Multiples the value by 1,024 | 5KiB | 5120 |
mib | Multiples the value by 1,048,576 | 10mib | 10485760 |
gib | Multiples the value by 1,073,741,824 | 5gib | 5368709120 |
tib | Multiples the value by 1,099,511,627,776 | 5tib | 5497558138880 |
Outputs
- All conditions match
- Not all conditions match