Tie::RegexpHash module allows one to use regular expressions
for hash keys, so that values can be associated with anything
that matches the key.

WWW: https://metacpan.org/release/Tie-RegexpHash
