lonely_coder
lonely_coder copied to clipboard
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.
Can you add a spec for the cases where this helps?