On this page
正则表达式 object
以下 objects 直接与 regexp API 相关。
正则表达式
全局正则表达式对象具有以下属性。
| Property | Type | Description |
|---|---|---|
| regexpid | ID | 正则表达式的 ID。 Property behavior: - 只读 - 在更新操作中为 必需 |
| name | string | 正则表达式的名称。 Property behavior: - 在创建操作中为 必需 |
| test_string | string | 测试字符串。 |
表达式
expressions 对象具有以下属性。
| Property | Type | Description |
|---|---|---|
| expression | string | 正则表达式。 Property behavior: - required |
| expression_type | integer | 正则表达式类型。 可能的值: 0 - 包含字符字符串; 1 - 包含任意字符字符串; 2 - 不包含字符字符串; 3 - 结果为 TRUE; 4 - 结果为 FALSE。 Property behavior: - required |
| exp_delimiter | string | 表达式分隔符。 默认值: ","。可能的值: ","、"." 或 "/"。Property behavior: - 当 expression_type 设置为 "Any character string included" 时,supported |
| case_sensitive | integer | 大小写敏感性。 默认值: 0。可能的值: 0 - 不区分大小写; 1 - 区分大小写。 |