[vim/vim] runtime(typescript): Update syntax, fix pattern memory usage with re=1 (PR #21423)

1 view
Skip to first unread message

dkearns

unread,
Oct 1, 2026, 11:32:43 AM (2 days ago) Oct 1
to vim/vim, Subscribed
  • Fix typescriptArrowFuncDef pattern memory errors when regexpegine=1.
  • Add a test.

fixes: #17247
related: #21400

I'll also send a PR upstream.

@kokosabu, maybe you could check this? While your PR fixed the exponential backtracking it can still easily blow up the memory usage.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21423

Commit Summary

  • 997b8e1 runtime(typescript): Update syntax, fix pattern memory usage with re=1

File Changes

(4 files)

Patch Links:

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21423@github.com>

Reply all
Reply to author
Forward
0 new messages