- void clear_range() { range_start = range_length = 0; range_valid = false; }
- void set_range(size_t start, size_t length)
- { range_start = start; range_length = length; range_valid = true; }
+ bool range_is_exact() const { return range_exact; }
+ void clear_range()
+ { range_start = range_length = 0;
+ range_valid = false; range_exact = false; }
+ void set_range(size_t start, size_t length, bool exact = false)
+ { range_start = start; range_length = length;
+ range_valid = true; range_exact = exact; }