Regex: How to match sequence of key-value pairs at end of string,"pairs = dict([match.split(':', 1) for match in matches])"