Right, here is where reusing the twisted HTTP client protocol would help, but a regex should be fine for now.