docs: private static List<SecretRange> getGenericSecretPos(String text)
    {
      // log before and after in case this is causing StackOverflowError
      LOGGER.debug("pre-regex getGenericSecretPos");
  
      Matcher matcher = GENERIC_CREDS_PATTERN.matcher(
          text.length() <= MAX_LENGTH ? text : text.substring(0, MAX_LENGTH));
  
      ArrayList<SecretRange> awsSecretRanges = new ArrayList<>();
  
      while (matcher.find())
      {
        awsSecretRanges.add(new SecretRange(matcher.start(), matcher.end()));
      }
  
      LOGGER.debug("post-regex getGenericSecretPos");
  
      return awsSecretRanges;
    }