Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d836c78fdf728ff3e95341c1dabe8e84646525c100d5a34b5c3befc386a9ce91
Ticket: 1902890fffffffffffffffffffffffffffffffff
compiled regexp behaves differently
User & Date: jan.nijtmans on 2026-11-18 17:44:43
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closer changed to: "nobody"
  3. comment changed to:
    From comp.lang.tcl: <[email protected]>
    
    % set pattern --; set text ----
    % regexp $pattern $text; # no error
    1
    % regexp -- ----   ; # error for same arguments.
    wrong # args: should be "regexp ?switches? [...]"
    
    This bug-report only documents the difference,
    not which of the two is to be considered correct.
    
  4. icomment:
    Merged to [6e93204003|trunk] and core-9-0-branch.
    
    Many thanks!
    
    Would be nice to backport for 8.6.19
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Fixed"
  8. severity changed to: "Minor"
  9. status changed to: "Pending"