Fix invalid regex.

In order to match \output, two escaped backslashes need to be there, or the following error (which halts parsing) is triggered:
    Error parsing regex (.*)has occurred while \output is active^, pattern error at offset 24