code: public final ExpectBuilder withInputFilters(Filter filter, Filter... moreFilters) {
          if (moreFilters.length == 0) {
              this.filter = filter;
          } else {
              Filter[] filters = new Filter[moreFilters.length + 1];
              filters[0] = filter;
              System.arraycopy(moreFilters, 0, filters, 1, moreFilters.length);
              this.filter = Filters.chain(filters);
          }
          return this;
      }
docs: Sets a filter for the input. Optional, by default no filter is applied.
  <p/>
  Filters can be used to modify the input before performing expect operations. For example,
  to remove
  non-printable characters. Filters can be switched on and off while working with the expect
  instance.
  
  @param filter      the filter
  @param moreFilters more filter to apply. if specified then all the filters are combined
  using the
  {@link Filters#chain(Filter...)} method.s
  @return this