I have a program that part of the output there is a time duration, that i would like to give an example for.
I think that making a regular expression optional won't harm anything in the simplicity of the example tests.
In the current example system I can't test this program.
you could sanitize the output before printing.
(e.g. use regexp to replace the number with a fixed number before print
Not only does this not require a new facility, it also allows the users to
use older versions of Go.
I saw in the code that there is unsorted option for the output, you use it by prefixing the output: unsorted Output:. (it is not documented)
We could do something similar, so it won't break non-regex output.