Right now the set_pattern function takes only 2 strings as input: the crumb argument name and the pattern string for said argument.
When I was programming it I struggled to decide whether would be a better idea to use **kwargs instead.
Maybe a function set_patterns(**kwargs) could work?