Apparently there might be more junk in the error string if we're evaluating a script... Doing a more relaxed match.