Prova cosi: var re = new RegExp("^ ( " + t + "), i");
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum