Skip to main content

MAX_EXPRESSION_BYTES

Constant MAX_EXPRESSION_BYTES 

Source
const MAX_EXPRESSION_BYTES: usize = _; // 65_536usize
Expand description

An expression’s source may be at most this long. The grammar is small, and a bound keeps the tokenizer and parser work finite; the size of a matches pattern is bounded separately, where the pattern is compiled.