ifEsle node add regex match (#8007)

This commit is contained in:
Charlie.Wei
2024-09-06 17:44:09 +08:00
committed by GitHub
parent 2060db8e11
commit 01858e1caf
7 changed files with 23 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ export enum ComparisonOperator {
lessThanOrEqual = '≤',
isNull = 'is null',
isNotNull = 'is not null',
regexMatch = 'regex match',
}
export type Condition = {

View File

@@ -30,6 +30,7 @@ export const getOperators = (type?: VarType) => {
ComparisonOperator.isNot,
ComparisonOperator.empty,
ComparisonOperator.notEmpty,
ComparisonOperator.regexMatch,
]
case VarType.number:
return [