Applied Programming/Dictionaries and Sets/Python3

regex_dictionaries.py
This is the regex way of using dictionaries.

Try It
Copy and paste the code above into one of the following free online development environments or use your own compiler / interpreter / IDE.