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

Method size_limit

regex/src/compile.rs:68–71  ·  view source on GitHub ↗

The size of the resulting program is limited by size_limit. If the program approximately exceeds the given size (in bytes), then compilation will stop and return an error.

(mut self, size_limit: usize)

Source from the content-addressed store, hash-verified

66 /// the program approximately exceeds the given size (in bytes), then
67 /// compilation will stop and return an error.
68 pub fn size_limit(mut self, size_limit: usize) -> Self {
69 self.size_limit = size_limit;
70 self
71 }
72
73 /// If bytes is true, then the program is compiled as a byte based
74 /// automaton, which incorporates UTF-8 decoding into the machine. If it's

Callers 2

compilerMethod · 0.80
buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected