Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I didn't want anyone to cheat and have the method just return what the solution's tests look for. Probably unncessary, but I completed a 2 kyu problem with that method once, and I didn't want anyone circumventing my kata with that. I see you have a working solution now. Do you know what the issue was?
Maybe, but it does it in four tests instead of one. Doing it all with one test was the point of this exercise.
http://xkcd.com/936/
This comment is hidden because it contains spoiler information about the solution
That's a good idea. I thought I was being pretty blunt by writing everything but the regex for the user, but I still see multiple solutions that use several regex statements strung together and one that doesn't even use regex at all! I'll look into updating the kata this evening.
Considering this kata is in the regex section, is completing this kata without using regex really the best solution possible? :P