Tweak regex.

Change regex in grep statement for submission output test.

The original was apparently wrong, so I have no idea why it works for me but not @matthewrmshin or @benfitzpatrick - problems with grep in my environment maybe?

@matthewrmshin - please check this is now correct and merge accordingly.