Compiles byte based programs for use with the NFA matching engines. By default, the NFA engines match on Unicode scalar values. They can be made to use byte based programs instead. In general, the byte based programs are slower because of a less efficient encoding of character classes. Note that this does not impact DFA matching engines, which always execute on bytes.
(mut self, yes: bool)
| 197 | /// Note that this does not impact DFA matching engines, which always |
| 198 | /// execute on bytes. |
| 199 | pub fn bytes(mut self, yes: bool) -> Self { |
| 200 | self.bytes = yes; |
| 201 | self |
| 202 | } |
| 203 | |
| 204 | /// When disabled, the program compiled may match arbitrary bytes. |
| 205 | /// |
no outgoing calls