So obviously they ran the input through eval. This led us down a rabbit hole of trying to
get a reverse shell working, but that was blocked.

And then one of us noticed that the chat bot asked us to greet it as it had greeted us, so
the problem was reduced to how to send it something that could pass the first check for
[A-Za-z] and then be evaluated to the string ‘Hello!’.

Since none of us where ruby programmers this took quite a while to figure out.
The solution we came up with in the end was: