docs: public static List<String> getAllGroups(Pattern pattern, CharSequence content, boolean withGroup0) {
  		if (null == content || null == pattern) {
  			return null;
  		}
  
  		ArrayList<String> result = new ArrayList<>();
  		final Matcher matcher = pattern.matcher(content);
  		if (matcher.find()) {
  			final int startGroup = withGroup0 ? 0 : 1;
  			final int groupCount = matcher.groupCount();
  			for (int i = startGroup; i <= groupCount; i++) {
  				result.add(matcher.group(i));
  			}
  		}
  		return result;
  	}