Switched to .match for matching

Mispy taught me something about ruby precedence today!