Skip to content
Tcl Source Code Artifact [ccdd2bd1d7]
Login

Artifact [ccdd2bd1d7]

Artifact ccdd2bd1d7097e18c804adf49904f8533c5587c5d264b848cca5b788eb6d9f15:

Manifest of check-in [ccdd2bd1d7] - Fix [b73f129696]: regexp -all did not try to match at the end of the string, so an RE that can match the empty string missed its last match there, unlike regsub -all and other RE engines. Also try at the end of the string. Incompatible: such REs now report one more (empty) match. Remove knownBug from regexp-23.5, 23.7, 23.9; update tests that expected the old behaviour. by serhiy.storchaka on 2026-10-11 08:18:53.
B 9383b0c9135923809443d500937f89513263efd4eee9395e86dd2a282890e865
C Fix\s[b73f129696]:\sregexp\s-all\sdid\snot\stry\sto\smatch\sat\sthe\send\sof\sthe\sstring,\sso\san\sRE\sthat\scan\smatch\sthe\sempty\sstring\smissed\sits\slast\smatch\sthere,\sunlike\sregsub\s-all\sand\sother\sRE\sengines.\sAlso\stry\sat\sthe\send\sof\sthe\sstring.\sIncompatible:\ssuch\sREs\snow\sreport\sone\smore\s(empty)\smatch.\sRemove\sknownBug\sfrom\sregexp-23.5,\s23.7,\s23.9;\supdate\stests\sthat\sexpected\sthe\sold\sbehaviour.
D 2026-10-11T08:18:53.897
F generic/tclCmdMZ.c 9b25c85221ed1b901cdbfc72dce8a3d31ffa30137c0c988290269483f5dc0f64
F tests/regexp.test 53b8caffb4e8b29ec6fed463c1213e59ed37e361ff189a14ed22db51f1ccac05
F tests/regexpComp.test cd10b8d50da4c7f13f76adbab5d8a4c06cfca67715ed0dbb37aabc19355e0be1
P 9383b0c9135923809443d500937f89513263efd4eee9395e86dd2a282890e865
R 8216b66d433e4a89420741cf739d46d6
T *branch * regexp-all-end-of-string
T *sym-regexp-all-end-of-string *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 00fe179d1beb56877d18423a332fce5f