Skip to content
Tcl Source Code History Of Ticket 823524ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 823524ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 823524ffffffffffffffffffffffffffffffffff

  1. Ticket change [3ab0a4867a] (rid 112601) by hemanglavana on 2003-10-14 15:47:31:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      There seems to be a bug in regsub command in tcl8.4
      version:
      
      (bin) 1 % info patch
      8.4.5
      (bin) 2 % set b "a\nb\nc\nd"
      a
      b
      c
      d
      (bin) 3 % regsub -all -line ^ $b #
      #a
      ##b
      ##c
      ##d
      (bin) 4 % regsub -all -line ^ $b # c
      7
      (bin) 5 % set c
      #a
      ##b
      ##c
      ##d
      (bin) 6 % package provide TclDevKit
      3.0
      (bin) 7 %
      
      Note the ## for b, c and d lines. The tclversion is the
      one provided by AK with TclDevKit3.0 pre-release.
      Here's the output of correct behavior with tcl8.3:
      
      squish:43> tclsh
      % info patch
      8.3.3
      % set b "a\nb\nc\nd"
      a
      b
      c
      d
      % regsub -all -line ^ $b #
      wrong # args: should be "regsub ?switches? exp string
      subSpec varName"
      % regsub -all -line ^ $b # c
      4
      % set c
      #a
      #b
      #c
      #d
      % 
      
    4. foundin initialized to: "obsolete: 8.4.5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "hemanglavana"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "bug in regsub in tcl8.4 version"
    11. type initialized to: "Bug"
  2. Ticket change [b1f59be14f] (rid 98255) by hobbs on 2003-10-15 00:13:03:

    1. assignee changed to: "vincentdarley"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      This bug was introduced the following patch:
      
      2003-06-17  Vince Darley
      
      * generic/tclCmdMZ.c:
      * tests/regexp.test: fixing of bugs related to regexp 
      and regsub
      matching of empty strings.  Addition of a number of 
      new tests.
      
      Assigning to Vince to correct regression failure that would be 
      shown with this test:
      
      test regexp-21.11 {multiple matches handle newlines} {
          regsub -all -line -- ^ "a\nb\nc" \#
      } "\#a\n\#b\n\#c"
      
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "9 Immediate"
    6. username: "hobbs"
  3. Ticket change [1e6d7f111d] (rid 90974) by vincentdarley on 2003-10-15 01:24:40:

    1. closedate changed to: "2003-10-14T18:24:40"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Fixed.  Thanks for the report.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"