Skip to content
Tcl Source Code Artifact [0b36adaf16]
Login

Artifact [0b36adaf16]

Artifact 0b36adaf1668c6bb490d2e6d5bffc4b6816303528efe71f6b97573fb2e774b5c:

Manifest of check-in [0b36adaf16] - Fix [1902890]: compiled [regexp] did not treat an RE value starting with "-" as a switch, unlike the command. When the RE is not known at compile time and there is no --, check it at runtime and call [regexp] itself if it starts with "-". Also fixes [7e4d5a0a2b] and case #6 of [697b1bbfe3]. New tests regexpComp-25.1 to 25.7. by serhiy.storchaka on 2026-10-11 07:35:29.
B 9383b0c9135923809443d500937f89513263efd4eee9395e86dd2a282890e865
C Fix\s[1902890]:\scompiled\s[regexp]\sdid\snot\streat\san\sRE\svalue\sstarting\swith\s"-"\sas\sa\sswitch,\sunlike\sthe\scommand.\sWhen\sthe\sRE\sis\snot\sknown\sat\scompile\stime\sand\sthere\sis\sno\s--,\scheck\sit\sat\sruntime\sand\scall\s[regexp]\sitself\sif\sit\sstarts\swith\s"-".\sAlso\sfixes\s[7e4d5a0a2b]\sand\scase\s#6\sof\s[697b1bbfe3].\sNew\stests\sregexpComp-25.1\sto\s25.7.
D 2026-10-11T07:35:29.356
F generic/tclCompCmdsGR.c 49aff6bc71196ca0db4cbd5e09a05cb5bd76288179168d029a50cb603c473788
F tests/regexpComp.test abcc3872516a179d3e6212aa273269a7aaa71f0241d4d1ac0b3927e782611797
P 9383b0c9135923809443d500937f89513263efd4eee9395e86dd2a282890e865
R f1a76dd5a203e7d9b1b2c1ef86ff3495
T *branch * regexp-compile-runtime-switch
T *sym-regexp-compile-runtime-switch *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 8e3adcba59c1ec69f92a434d62066cfe