Whoops.
Refactor .match and .isMatch methods.