code: public static Result success(String input, String before, String group) {
          return new SimpleResult(true, input, before, group, true);
      }
docs: Creates an instance of a successful result type.
  The {@link net.sf.expectit.Result#canStopMatching()} is always set to {@code true}.
  @param input the matcher`s input string.
  @param before the string before match, not {@code null}.
  @param group the string group, not {@code null}.
  @return the result object.