code: @Override
    public void filter(IKeyValuePair keyValuePair) {
      String value = keyValuePair.getValue();
      if (value != null) {
        keyValuePair.setValue(pattern.matcher(value).replaceAll(replacement));
      }
    }
docs: {@inheritDoc}