Changed reg ex to grab the entire line thrown by error