Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | regexp-compile-dash-pattern |
| Files: | files | file ages | folders |
| SHA3-256: |
a64804ce70db53c5d9432a2ce627bcec |
| User & Date: | serhiy.storchaka on 2026-10-10 21:10:10.283 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-14
| ||
| 09:26 | Fix [697b1bbfe3] and [1902890fff]: Incorrect argument handling by [regexp] check-in: 6e93204003 user: jan.nijtmans tags: trunk, main | |
|
2026-10-10
| ||
| 21:10 | Fix cases #2 and #4 of [697b1bbfe3]: the bytecode compiler for [regexp] checked for a leading "-" on... closed check-in: a64804ce70 user: serhiy.storchaka tags: regexp-compile-dash-pattern | |
|
2026-10-08
| ||
| 09:29 | merge: gahr-dual-stack-tests check-in: e55edf971f user: gahr tags: trunk, main | |
Changes
Modified generic/tclCompCmdsGR.c
from [58522fb5d0]
to [259fd520dc].
[diff]
Modified tests/regexpComp.test
from [06eca9fcfa]
to [a60065b1dc].
[diff]