Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 70a24ce841e3c85ed1e1d5a53d25324493e13ff34dcad0bdfe268722230a7751
Ticket: 1178541fffffffffffffffffffffffffffffffff
REG_BOSONLY incorrect with |
User & Date: serhiy.storchaka on 2026-10-11 08:46:45
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    Still the same in 8.6, 9.0 and 9.1.
    
    Proposed fix in branch [/timeline?r=regexp-bosonly-alternatives|regexp-bosonly-alternatives]: the patch by tgl below. With it, all alternatives are anchored, and the results agree with <tt>\A(?:re)</tt>, also with <tt>TCL_REG_NOTBOL</tt>. Test reg-30.9.
    
    Expect does not use <tt>TCL_REG_BOSONLY</tt> any more (it only passes <tt>TCL_REG_ADVANCED</tt> and <tt>TCL_REG_NOCASE</tt>); in Tcl itself only <tt>testregexp</tt> uses it. The flag is kept for other users of <tt>tclInt.h</tt>.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"