串儿(chuanr) reformatting the <input /> according to declared patterns