Thank you for this great Kata, I really enjoyed solving it! In the random tests of the Kata, there are cases where the search word ends with a period. In these cases, as I noticed only because of the tests, an empty string must be returned. It might be helpful to mention this in the Kata description.
Thank you! Now it behaves as expected.
Thanks for the feedback. Random tests were completely broken. It should be working correctly now.
Thank you for this great Kata, I really enjoyed solving it! In the random tests of the Kata, there are cases where the search word ends with a period. In these cases, as I noticed only because of the tests, an empty string must be returned. It might be helpful to mention this in the Kata description.
Interesting, thanks, we'll have to look at that with a benchmark.
Cool!
I didn't even think of that.
I like this Kata! Thank you.