handle "*\n" case (in addition to "* ")