class TesteRegex {
public static void main
(String[] args
) { for (int i = 0; i < d.length; i++) {
System.
out.
println("[" + d
[i
] + "]"); }
}
}
Y2xhc3MgVGVzdGVSZWdleCB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3RyaW5nIHMgPSAiIEEgQiBDICI7CiAgICAgICAgU3RyaW5nW10gZCA9IHMuc3BsaXQoIiAiLCA1KTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oZC5sZW5ndGgpOwogICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgZC5sZW5ndGg7IGkrKykgewogICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlsiICsgZFtpXSArICJdIik7CiAgICAgICAgfSAKICAgIH0KfQ==