More regexp fixing to allow matching on PUT.