code: protected List<Object> filterAttributeValuesByPattern(final Set<Object> attributeValues, final Pattern pattern) {
          return attributeValues.stream().filter(v -> RegexUtils.matches(pattern, v.toString(), completeMatch)).collect(Collectors.toList());
      }
docs: Filter attribute values by pattern and return the list.
  
  @param attributeValues the attribute values
  @param pattern         the pattern
  @return the list