I ran this solution against my IRB and returned correct results.
Then I submit and it says that ALL tests are incorrect. I run in Test code, and I have to escape "+" twice in "/+[A-Za-z]+/", but I get correct result, then I submit and it still shows ALL test incorrect..
# code goes here
# keep this function call here