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

Method only_utf8

regex/src/compile.rs:93–96  ·  view source on GitHub ↗

When disabled, the program compiled may match arbitrary bytes. When enabled (the default), all compiled programs exclusively match valid UTF-8 bytes.

(mut self, yes: bool)

Source from the content-addressed store, hash-verified

91 /// When enabled (the default), all compiled programs exclusively match
92 /// valid UTF-8 bytes.
93 pub fn only_utf8(mut self, yes: bool) -> Self {
94 self.compiled.only_utf8 = yes;
95 self
96 }
97
98 /// When set, the machine returned is suitable for use in the DFA matching
99 /// engine.

Callers 1

c_dotstarMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected