Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 247284fd107b1bceb43c59514db088e9b15c5659
Ticket: f2f70aa60c0844cd9ebcaabb630e5ea64325db90
regsub -all misses matches in Tcl 8.6
User & Date: dkf on 2016-10-14 09:00:23
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2457675.87527312"
  3. closer changed to: "dkf"
  4. icomment:
    This was the change to the <tt>\x<i>XX</i></tt> escape in Tcl itself. It was always documented to be followed by exactly two hex digits, but was in practice followed <i>incorrectly</i> by an arbitrary number of hex digits of which all but the last two were thrown away. This meant (for example) that <tt>\x44AZ</tt> expanded to <tt>JZ</tt> and not to <tt>DAZ</tt>. This was horribly wrong, and was fixed in 8.6 to conform to the specification. See <a href="//tip.tcl.tk/388.html">TIP #388</a> for the details.
    
    The workaround is to use the <tt>\u<i>XXXX</i></tt> form as that was always (correctly) consuming exactly 4 hex digits.
    
  5. login: "dkf"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Rejected"
  8. status changed to: "Closed"
  9. subsystem changed to: "45. Parsing and Eval"
  10. username: "dkf"