minor fix: regex (now only \n is filtered)