tests: Add support for checking the consumed part of the input

Correct (I think) notation to make optional phrases optional

Whitespace fixes

Allow to specify 'in the morning' to refer to tomorrow

Use one_of to improve matching

Match case-insensitively

Match only at word boundaries

Optimisation by saving a function per loop iteration

readdate: Print any text unused by the time calculation

Return the position of the start and end of the matched text

(0) -10 +10 tip

mercurial