fix #112 by removing regexp for an iterative call to `format` -- also
affects #27