Function regex_syntax::unicode::ages

source ·
fn ages(
    canonical_age: &str,
) -> Result<impl Iterator<Item = &'static [(char, char)]>, Error>
Expand description

Returns an iterator over Unicode Age sets. Each item corresponds to a set of codepoints that were added in a particular revision of Unicode. The iterator yields items in chronological order.

If the given age value isn’t valid or if the data isn’t available, then an error is returned instead.