Make digest qop regex more robust (see #730)