Convert ola_timecode to our flags and improve the automatic flag manpage generation a bit

In which case, what should this do:
ReplaceAll("abcdcdcdce", "cdcdc", "cdc")
abcdce?

There is probably a better example, I realise that's very contrived.

I'm just struggling to work out what the logic behind it should be to work for both the new examples.