Check for duration-type modules when checking the format of output

We need to use a different regex when modules are shown with a duration format to when they're a simple number.