Overridable floors — defaults match the baseline (1024 chars / ±1e12 / 1000 items / no control chars).
Optional
reject NUL + control chars (tab/newline/CR allowed). Pass null to skip adding a pattern.
Overridable floors — defaults match the baseline (1024 chars / ±1e12 / 1000 items / no control chars).