code: public Regex range(int min, int max) {
        return re(this.pattern + "{" + Integer.toString(min) + "," + Integer.toString(max) + "}");
     }
docs: Specifies the minimum and maximum times for this regex to repeat.
  
  @param min the minimum times the pattern should repeat
  @param max the maximum times the pattern should repeat
  @return the regex