Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-26
14:04 • Closed ticket [3e7c4a039d]: tcl_startOfPreviousWord ignores the last character w... artifact: c4c8b218e3 user: jan.nijtmans
2026-10-25
12:03
Fix [3e7c4a039d]: tcl_startOfPreviousWord ignores the last character when start is the string length... closed check-in: 5e430a21cd user: serhiy.storchaka tags: word-previous-last-char
2024-08-25
08:16
Merge [bc2b770004fdf830]: Fix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1". check-in: dedf30ee6d user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-01-27
12:00 • Closed ticket [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1&qu... artifact: 827d378d1b user: jan.nijtmans
11:51
Fix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1" check-in: 8f65470f72 user: jan.nijtmans tags: core-8-6-branch
2024-01-26
13:40
Fix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1" closed check-in: af214ab63b user: jan.nijtmans tags: bug-16e25e1402
13:29 • Ticket [16e25e1402] tcl_startOfPreviousWord cannot handle "end-1" ... artifact: 4210e1b044 user: jan.nijtmans
13:29 • New ticket [16e25e1402]. artifact: d6c9a8f458 user: jan.nijtmans

tcl_startOfPreviousWord cannot handle "end-1"

Closed / Fixed16e25e140222d156f1859a7155d052815f86fc55Created 3 years agoUpdated 3 years ago
Descriptionwiki2024-01-26 13:29:01
$ tclsh8.6
% tcl_startOfPreviousWord "ab cd" end-1
bad index "end-1-1": must be integer?[+-]integer? or end?[+-]integer?

But

% tcl_endOfWord "ab cd" end-4
2
Referenced by5
  • c4c8b218e3Closed ticket [3e7c4a039d]: tcl_startOfPreviousWord ignores the last character when start is the string length plus 8 other changes ticket2026-10-26 14:04:11
  • 5e430a21cdFix [3e7c4a039d]: tcl_startOfPreviousWord ignores the last character when start is the string length. Drop the character at $start only if there is one (regression from [16e25e1402] in 8.6.14). check-in2026-10-25 12:03:35
  • dedf30ee6dMerge [bc2b770004fdf830]: Fix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1". check-in2024-08-25 08:16:22
  • 8f65470f72Fix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1" check-in2024-01-27 11:51:45
  • af214ab63bFix [16e25e1402]: tcl_startOfPreviousWord cannot handle "end-1" check-in2024-01-26 13:40:47
jan.nijtmans Ticket [16e25e1402]: 3 changes [History diff]2024-01-26 13:29:21
jan.nijtmanswiki2024-01-27 12:00:25

Fixed [here]

Log in (anonymous is fine) to add a comment.