Skip to content

fix: close remaining regex regression edge cases - #2

Merged
ItsWanheda merged 10 commits into
mainfrom
fix/regex-engine-regressions
Oct 22, 2026
Merged

ItsWanheda merged 10 commits into
mainfrom
fix/regex-engine-regressions

Conversation

@ItsWanheda

Copy link
Copy Markdown
Owner

Summary

  • Validate flags before handling an empty pattern, including in the UI update flow.
  • Detect split truncation by probing one segment beyond the cap, avoiding false warnings at exactly 50,000 segments.
  • Cap rendered highlighted previews at 250,000 characters so large inputs do not force oversized HTML construction on the main thread.
  • Add regression tests for empty-pattern flags, exact/over-cap split results, and safe large-input previews.
  • Update version/docs to 1.1.1 and include additional checklist coverage.

Verification

  • Existing main CI run for the primary hardening pass succeeded.
  • This PR triggers the regression suite on GitHub Actions; merge only after that run succeeds.

Scope

Application changes are on fix/regex-engine-regressions. main has not been modified by this follow-up.

@ItsWanheda
ItsWanheda merged commit e844fed into main Oct 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant