pub fn within_char_range(
    range: RangeInclusive<char>
) -> PrettyRegex<CharClass<Custom>>
Expand description

Matches characters within a given range.

Example

assert!(within_char_range('a'..='z').to_regex_or_panic().is_match("a"));
assert!(!within_char_range('a'..='z').to_regex_or_panic().is_match("Z"));