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.
Hey, thanks!
Take a look at these:
http://zetcode.com/lang/rubytutorial/regex/
https://www.blueboxcloud.com/insight/blog-article/using-regular-expressions-in-ruby-part-3-of-3
http://www.regular-expressions.info/
http://rubular.com/
http://regexcrossword.com/
Regex is a very powerful tool, learn it well and you will be able to solve many problems with that. Best wishes.
Yup missed it! Seems the test didn't catch me. Will update it.
Is that a requirement?
Beautifully well written! and yes readability to the best!!! :)
Not sure using rescue for logic branching is recommended.
This uses two loops, it would be better to do the filtering inside the reduce/inject block.
any? is a better pattern than all?