regex::dynamic, fuzzed, and counted in benches/regex/Open and answer this issue on GitHub.
ready · opened 2026-11-21 · updated 2026-11-21 · 0 comments
Part of #673 After #2536
The check that an engine never changes the match, and the figures that set its limits (ADR-regex-1 D5): every engine that accepts a pattern is tested against regex::dynamic (D5.1), a fuzz driver written in Nikaia feeds them, and benches/regex/ counts instructions against a tuned Rust program on the crate. This is step 5 of #673; it needs a second engine (regex::Dfa, step 4, #2536).
regex::dynamic on the same texts (D5.1), as a test program in tests/compiler/tests/.Found: if std lacks what it needs).benches/regex/ with instruction counts (callgrind, docs/measuring.md) against a tuned Rust program on the crate, same output first; its figures set the default limits.The differential test passes for every engine, the fuzz driver runs, and benches/regex/ gives counted rows for each engine and the Rust program with the same output, the default limits set from them; the commit of item 3 says Fixes #N.
Split from #673 by Claude Code