trek/lonely_coder — pull request #11 by andrew-carroll (2014-12-07 05:11:04+00:00)
Title: Change regex style to account for no matches

Fixes Issue #5 . Old code would sometime not match anything, and match annoyingly returns nil when there are no matches. The alternate regex matching syntax, featured in the new commit, is more forgiving, returning instead an empty set.