Lines Matching defs:set
57 /// Various options can be set before calling `compile` on an expression.
105 /// When set, the machine returned is suitable for use in the DFA matching
117 /// When set, the machine returned is suitable for matching text in
351 // See comments above for why we set the ASCII range here.
1076 /// The set of byte ranges looks like this:
1227 let mut set = ByteClassSet::new();
1228 set.set_range(b'a', b'z');
1229 let classes = set.byte_classes();
1241 let mut set = ByteClassSet::new();
1242 set.set_range(0, 2);
1243 set.set_range(4, 6);
1244 let classes = set.byte_classes();
1258 let mut set = ByteClassSet::new();
1260 set.set_range(i as u8, i as u8);
1262 assert_eq!(set.byte_classes().len(), 256);