parse duration's regex only reads one digit per unit, so its doctests fail; fix the code, keep the docstring.
parse duration's regex only reads one digit per unit, so its doctests fail; fix the code, keep the docstring.: a task in agent-harbor-tasks (Harbor dataset). python -m doctest durations.py fails. Fix the function, not the examples in the docstring.
The task
`python -m doctest durations.py` fails. Fix the function, not the examples in the docstring.
Part of efederici/agent-harbor-tasks.