|
@@ -18,8 +18,7 @@ function filterValidate(data)
|
|
--匹配上的父节点,对应的子节点,是否成功
|
|
--匹配上的父节点,对应的子节点,是否成功
|
|
local y_p,y_k,y_ok = "","",false
|
|
local y_p,y_k,y_ok = "","",false
|
|
--标题处理
|
|
--标题处理
|
|
- local title = data["title"]
|
|
|
|
- --print(title)
|
|
|
|
|
|
+ local title = string.upper(data["title"])
|
|
if title ~= nil and title ~= "" then
|
|
if title ~= nil and title ~= "" then
|
|
--标题匹配
|
|
--标题匹配
|
|
y_p,y_k,y_ok = match(title)
|
|
y_p,y_k,y_ok = match(title)
|
|
@@ -39,7 +38,7 @@ function filterValidate(data)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
--正文处理
|
|
--正文处理
|
|
- local detail = data["detail"]
|
|
|
|
|
|
+ local detail = string.upper(data["detail"])
|
|
--print(detail)
|
|
--print(detail)
|
|
if detail ~= nil and detail ~= "" then
|
|
if detail ~= nil and detail ~= "" then
|
|
--如果标题没有匹配上,匹配正文
|
|
--如果标题没有匹配上,匹配正文
|