docs: public static Matcher findRegex(Object left, Object right) {
          String stringToCompare;
          if (left instanceof String) {
              stringToCompare = (String) left;
          } else {
              stringToCompare = toString(left);
          }
          String regexToCompareTo;
          if (right instanceof String) {
              regexToCompareTo = (String) right;
          } else if (right instanceof Pattern) {
              Pattern pattern = (Pattern) right;
              return pattern.matcher(stringToCompare);
          } else {
              regexToCompareTo = toString(right);
          }
          return Pattern.compile(regexToCompareTo).matcher(stringToCompare);
      }