Skip to content
Tcl Source Code Check-in [7ca44862f9]
Login

Check-in [7ca44862f9]

Overview
Comment:Fix [219233ffff] and [3556218fff]: in glob patterns ([string match], [glob], [lsearch -glob], [switch -glob]), a "-" right before the closing bracket of a set now is a literal, and a closing bracket right after the opening one is a member of the set, as in POSIX. Before, such a "-" started a range up to the closing bracket, and a set starting with a closing bracket never matched. Only for 9.1: patterns that relied on a range ending in the closing bracket change meaning.
Timelines: family | ancestors | descendants | both | glob-bracket-posix
Files: files | file ages | folders
SHA3-256: 7ca44862f9c58c551ece15bd2a4dd6bf9c4fc4e3761546b4f89e3a42b98ed752
User & Date: serhiy.storchaka on 2026-10-19 17:38:04.619
Other Links: branch diff | manifest | tags
Context
2026-11-26
17:20
Merge main leaf check-in: a3e5da4afa user: serhiy.storchaka tags: glob-bracket-posix
2026-10-19
17:38
Fix [219233ffff] and [3556218fff]: in glob patterns ([string match], [glob], [lsearch -glob], [switc... check-in: 7ca44862f9 user: serhiy.storchaka tags: glob-bracket-posix
17:24
Fix [a4a7f2abd3]: [string match], [glob] and [lsearch -glob] took exponential time for patterns like... closed check-in: 2e0da1e14e user: serhiy.storchaka tags: glob-match-linear
Changes