Parse strings using a specification based on the Python format()
syntax.