MCPcopy Create free account
hub / github.com/davidblewett/rure-python / bytes

Method bytes

regex/src/exec.rs:199–202  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 ///

Callers 6

cmd_compileFunction · 0.45
buildMethod · 0.45
compile_simple_bytesFunction · 0.45
compile_small_bytesFunction · 0.45
compile_huge_bytesFunction · 0.45

Calls

no outgoing calls