IsMatchVariable 判断字符串是否匹配环境变量标准格式${abc}
(s string)
| 72 | |
| 73 | // IsMatchVariable 判断字符串是否匹配环境变量标准格式${abc} |
| 74 | func IsMatchVariable(s string) bool { |
| 75 | return variableRegexp.MatchString(s) |
| 76 | } |
| 77 | |
| 78 | // IsMatchFilterAppKey 判断字符串是否匹配策略筛选条件key(应用)标准格式appkey{abc} |
| 79 | func IsMatchFilterAppKey(s string) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected