Loosen up exception test regex