code: public static Pattern lineComment(String begin) {
      return string(begin).next(many(CharPredicates.notChar('\n')));
    }
docs: Returns a {@link Pattern} object that matches a line comment started by {@code begin} and ended by {@code EOF} or
  {@code LF} (the line feed character).