Tcl Source Code

Check-in [5580370a8f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [446565]: regsub always asked the regexp engine for 10 submatches, which can be far more expensive than finding the match. Ask only for the submatches that subSpec refers to. New tests regexp-31.1 to 31.5.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | regsub-needed-submatches
Files: files | file ages | folders
SHA3-256: 5580370a8fa999ea4dcb739ce732fb146fbe5865a9973de5574c7909a4017eba
User & Date: serhiy.storchaka 2026-10-11 06:55:49.452
Context
2026-10-16
11:43
Fix [446565]: regsub always asked the regexp engine for 10 submatches check-in: 9b818c9f14 user: jan.nijtmans tags: trunk, main
2026-10-11
06:55
Fix [446565]: regsub always asked the regexp engine for 10 submatches, which can be far more expensi... closed check-in: 5580370a8f user: serhiy.storchaka tags: regsub-needed-submatches
2026-10-08
09:29
merge: gahr-dual-stack-tests check-in: e55edf971f user: gahr tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclCmdMZ.c.
Changes to tests/regexp.test.