"\n" =~ /[^\n]*\z/; # matches. like expected. but [\n]* is like .*