[][src]Function bitap::pattern_length_is_valid

pub fn pattern_length_is_valid(pattern_length: usize) -> bool

Because of bitap's implementation details, patterns can only be as long as the system word size. This is used internally in all of the iterator adapters.