pub const MAX_CONCEAL_PATTERN_LEN: usize = 512;
The longest pattern accepted, in bytes. Compilation cost and per-line match cost both scale with program size, and no legitimate line-level rule comes close.