Re: template strings for matching?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • skip@pobox.com

    Re: template strings for matching?


    TinoYeah, its a bit hard to spot:

    Tinohttp://docs.python.org/library/stdty...ing-operations

    That shows how to use the template formatting as it currently exists. To my
    knowledge there is no support for the inverse operation, which is what Joe
    asked about. Given a string and a format string assign the elements of the
    string which correspond to the template elements to key/value pairs in a
    dictionary.

    Skip

Working...