游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [e6f41e27e5]:

To Artifact [1d2bcc395a]:


47
48
49
50
51
52
53










54
55


56
57
58
59







60
61
62
63
64
65
66
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63


64
65
66



67
68
69
70
71
72
73
74
75
76
77
78
79
80







+
+
+
+
+
+
+
+
+
+
-
-
+
+

-
-
-
+
+
+
+
+
+
+







    k1 = o3(k1)
    end
  d_5.写件(o1, k1, o2)
  end
function d_5.删制表符(o1)
  return o1:gsub("\t", "")
  end
function d_5.删前缀(o1, o2)
  if o1:find(o2, 1, true) then
    return o1:sub(#o2 + 1)
    end
  end
function d_5.删后缀(o1, o2)
  if o1:find(o2, -1, true) then
    return o1:sub(1, #o1 - #o2)
    end
  end
function d_5.删空行(o1)
  return o1:gsub("\n\n+", "")
function d_5.删空行_快态(o1)
  return o1:gsub("\n+", "\n")
  end
function d_5.删制表符与空行(o1)
  o1 = d_5.删制表符(o1)
  return d_5.删空行(o1)
function d_5.删空行_慢态(o1)
  o1 = o1:gsub("\n+", "\n")
  o1 = d_5.删前缀(o1, "\n")
  return d_5.删后缀(o1, "\n")
  end
function d_5.删空格(o1)
  return o1:gsub(" ", "")
  end
function d_5.筛排(o1_9, o1, o2, o3)
  local k1_8
  local k1_9
  k1_9 = {}
  for o4 = 1, #o1_9 do
    k1_8 = o1(o1_9[o4], o2, o3)