update 2026-07-13 14:48:50

This commit is contained in:
action committed 2026-07-13 14:48:50 +08:00
1 parent c65bea94f4
commit 11c910c57e
7 files changed
+11 -16

No files matched your search

+2 -2
View File
@@ -1524,7 +1524,7 @@ function match_node_rule(name, rule)
-- split rule by || into OR groups
local function split_or(expr)
local t = {}
for part in expr:gmatch("[^|]+") do
for part in (expr .. "||"):gmatch("(.-)%|%|") do
part = trim(part)
if part ~= "" then
table.insert(t, part)
@@ -1535,7 +1535,7 @@ function match_node_rule(name, rule)
-- split rule by &&
local function split_and(expr)
local t = {}
for part in expr:gmatch("[^&]+") do
for part in (expr .. "&&"):gmatch("(.-)%&%&") do
part = trim(part)
if part ~= "" then
table.insert(t, part)