solved regular expression bug adding windows, mac and unix end of line - https://trac.faunalia.it/opengeo_rt/ticket/312