query_range/
lib.rs

1//! # Query Range Iterator
2//!
3//! This package provides an iterator (conforming to `Iterator`) which finds all ranges of a query
4//! within the searched content. The iterator can be collected, mapped or used manually
5//! (by calling the `next()` method until no further result is returned).
6//!
7//! This also exports several range utilities for use with strings.
8
9// Public exports -------------------------------------------------------------------------------- /
10
11
12pub use range::query_range_iterator::QueryRangeItr;
13pub use range::utility;
14pub use range::utility::{to_title_case, get_range, Shift, shift_range, shift_range_in_content, is_within};
15
16// Modules --------------------------------------------------------------------------------------- /
17
18mod range;