months = ['January', 'February']
weekdays = ['Monday', 'Tuesday']
frequencies = ['Daily', 'Weekly']
datetime_expr = Regex('(\\d{4})-(\\d\\d?)-(\\d\\d?) (\\d{2}):(\\d{2}):(\\d{2})'
    )
In Python, how to parse a string representing a set of keyword arguments such that the order does not matter