AlgoCasts
AlgoCasts copied to clipboard
anagrams edge cases
I forgot to put the global tag in my regex replace, and the tests still passed, but the example test in the description doesn't.
anagrams('RAIL! SAFETY!', 'fairy tales') --> True
Maybe add this in the test as well just to make sure all edge cases are covered.