docs: public int match(String userAgent) {
          userAgent = userAgent.toLowerCase();
          int maxLength = 0;
          for (String ua : userAgents) {
              if (ua.equals("*") || userAgent.contains(ua)) {
                  maxLength = Math.max(maxLength, ua.length());
              }
          }
          return maxLength;
      }