使用正则表达式匹配到字符串后,将字符串转换为String、Integer或者Double类型。
数据结构
message ValueTransferRule {
    required string regex = 1;
    optional VariantType cast_type = 2;
}| 名称 | 类型 | 是否必选 | 描述 | 
| regex | string | 是 | 正则表达式,用于匹配字符串。正则表达式必须满足以下条件: 
 | 
| cast_type | 否 | 将字符串转换为String、Integer或者Double类型,用于后续的关系运算。 | 
该文章对您有帮助吗?