ValueTransferRule converts a string to the String, Integer, or Double type after using a regular expression to match the string.
Data structure
message ValueTransferRule {
required string regex = 1;
optional VariantType cast_type = 2;
}
Parameter | Type | Required | Description |
---|---|---|---|
regex | string | Yes | A regular expression that is used to match strings. The regular expression must meet
the following conditions:
|
cast_type | VariantType | Yes | Converts a string to the String, Integer, or Double type for subsequent relational operations. |