Change to regex in dot wrap test to support windows cr/lf