class Regexp::MatchLength

def endless_each(&block)

def endless_each(&block)
  return enum_for(__method__) unless block_given?
  (min..max).each { |num| yield(num) if include?(num) }
end