Skip to content
Tcl Source Code Artifact [a64804ce70]
Login

Artifact [a64804ce70]

Artifact a64804ce70db53c5d9432a2ce627bcec4490718e9a100218808010310833221d:

Manifest of check-in [a64804ce70] - Fix cases #2 and #4 of [697b1bbfe3]: the bytecode compiler for [regexp] checked for a leading "-" only in simple words, so patterns like \- or -\\ were compiled instead of being reported as bad options. Check the value of any word known at compile time, as for [regsub]. Incompatible for compiled code relying on it; for the next feature release. New tests regexpComp-24.12 to 24.15. by serhiy.storchaka on 2026-10-10 21:10:10.
B e55edf971f641947d736befb81971edec885388f62a5c007bb4e99371cd0f5a0
C Fix\scases\s#2\sand\s#4\sof\s[697b1bbfe3]:\sthe\sbytecode\scompiler\sfor\s[regexp]\schecked\sfor\sa\sleading\s"-"\sonly\sin\ssimple\swords,\sso\spatterns\slike\s\\-\sor\s-\\\\\swere\scompiled\sinstead\sof\sbeing\sreported\sas\sbad\soptions.\sCheck\sthe\svalue\sof\sany\sword\sknown\sat\scompile\stime,\sas\sfor\s[regsub].\sIncompatible\sfor\scompiled\scode\srelying\son\sit;\sfor\sthe\snext\sfeature\srelease.\sNew\stests\sregexpComp-24.12\sto\s24.15.
D 2026-10-10T21:10:10.283
F generic/tclCompCmdsGR.c 259fd520dc7eaa5568431a572d7b7a6ac6dcd6c0aed88b056af09ae4dfc5139e
F tests/regexpComp.test a60065b1dcf47c0b84a9d5ecb85447ce324e321f36ef2c9b0b495a47c97425f5
P e55edf971f641947d736befb81971edec885388f62a5c007bb4e99371cd0f5a0
R 4b94417bf6571e5a7ce2b90ad49e01e2
T *branch * regexp-compile-dash-pattern
T *sym-regexp-compile-dash-pattern *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 815f40831c20884a58efe4073b0a69b0