Added isMatch function to options