Is there anything ready on the str
to get the the list of values requested in the string?
For example if I have a string like: I need two values {foo} and {boo}"
, is there anything that return me a list like ('foo', 'boo')
or I must write a regex?
I see there is the Template
class in string and the class has a flags
method, but I don't understand how to use it.
Thank you