The following demo loops through several sample formatting strings and all pre-defined patterms, and creates a table of the results:

The following table lists the code for each of the functions generated as a result of parsing the format strings: