in reply to Regex to compare (if) two strings (Uniquely - I will explain inside)

Sidenote: before comparing characters or using them to build a hash, I'd call uc on each one... for obvious reasons. This is demonstrated in the example from frozenwithjoy

--
Tommy
$ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'