Módulo:AutRules: mudanças entre as edições

sem sumário de edição
imported>Jaideraf
Sem resumo de edição
imported>Jaideraf
Sem resumo de edição
 
end
if string.match(f400a, "[a-zÀ-ü],[A-ZÀ-ü]") then
a = "Falta espaço após a vírgula. Verifique o campo 100400"
info = string.format('* <strong class="error">%s.</strong>', a)
table.insert(infos, info)
if f400q ~= "" then
if not string.match(f400q, "^%(") then
a = "O subcampo $q do campo 100400 necessita parênteses"
info = string.format('* <strong class="error">%s.</strong>', a)
table.insert(infos, info)
if f400d ~= "" then
if string.match(f400, "%$d %d%d%d%d$") then
a = "O subcampo $d do campo 100400 necessita hífen"
info = string.format('* <strong class="error">%s.</strong>', a)
table.insert(infos, info)
if f410b ~= "" then
if not string.match(f410, ".%s?%$b") then
a = "Inclua um ponto antes do subcampo $b do campo 110410"
info = string.format('* <strong class="error">%s.</strong>', a)
table.insert(infos, info)
Usuário anônimo