Add support for returning variable text/html

Previously only JSON could be used with variable responses.
This fixes that issue, by amending the regex to use a greedier match and a negative lookahead to identify the following request comment.