tweaked config line validation regex