游戏王残局简化版

月程语_不虑字串.lua at [eca49ddcf5]
Login

月程语_不虑字串.lua at [eca49ddcf5]

File 残局文料/lib_lua/删注/月程语_不虑字串.lua artifact 9c00c3ef5d part of check-in eca49ddcf5


local d_3 = {}
function d_3.多行注_套娃态(o1)
  return o1:gsub("%-%-%[(=*)%[.-%]%1%]", "")
  end
function d_3.多行注_凡态(o1)
  return o1:gsub("%-%-%[%[.-%]%]", "")
  end
function d_3.单行注(o1)
  return o1:gsub("%-%-[^\n]+", "")
  end
function d_3.事启(o1)
  o1 = d_3.多行注_套娃态(o1)
  return d_3.单行注(o1)
  end
return d_3