regex + doctest:  now you have *three* problems.