Skip to content
Tcl Source Code History Of Ticket 3414132
Login

History Of Ticket 3414132

Artifacts Associated With Ticket 3414132

  1. Ticket change [5270c4ee56] (rid 126318) by anonymous on 2011-09-26 18:05:14:

    1. assignee initialized to: "pvgoran"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Same problem on 8.6b2
      
      % regsub -all -- {(.*)} "something" {\1test}
      somethingtesttest
      
      The same:
      % regsub -all -- {(.*)} "something" {\1 test}
      something test test
      
      With $:
      % regsub -all -- {(.*)$} "something" {\1 test}
      something test test
      
      But with ^ (or ^ and $):
      % regsub -all -- {^(.*)} "something" {\1 test}
      something test
      % regsub -all -- {^(.*)$} "something" {\1 test}
      something test
      
    4. foundin initialized to: "obsolete: 8.5.10"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "Regsub repeats "supSpec""
    11. type initialized to: "Bug"
  2. Ticket change [724d1dde54] (rid 100831) by anonymous on 2011-09-27 01:09:51:

    1. icomment:
      Without -all it's ok too.
      
      
    2. login: ""
    3. mimetype: "text/plain"
    4. username: ""
  3. Ticket change [a778e502c0] (rid 98802) by dgp on 2011-09-27 23:26:48:

    1. icomment:
      (.*) matches the empty string.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [a499ea61be] (rid 110232) by dgp on 2011-09-28 00:08:46:

    1. closedate changed to: "2011-09-27T17:08:46"
    2. closer changed to: "dgp"
    3. icomment:
      This change happened in checkins
      31ae6969b0 and 6f6bf2acac on
      2003-06-17 and was first released
      in 8.4.3 and 8.5a1.  Commit message
      calls it a bug fix:
      
      2003-06-17  Vince Darley  <[email protected]>
      
              * 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.
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Pending"
    8. username: "dgp"
  5. Ticket change [6e13b622c1] (rid 135554) by dkf on 2013-11-12 12:32:24:

    1. assignee changed to: "aku"
    2. closedate changed to: "2456609.02250051"
    3. closer changed to: "dkf"
    4. comment changed to:
      Same problem on 8.6b2
      
      % regsub -all -- {(.*)} "something" {\1test}
      somethingtesttest
      
      The same:
      % regsub -all -- {(.*)} "something" {\1 test}
      something test test
      
      With $:
      % regsub -all -- {(.*)$} "something" {\1 test}
      something test test
      
      But with ^ (or ^ and $):
      % regsub -all -- {^(.*)} "something" {\1 test}
      something test
      % regsub -all -- {^(.*)$} "something" {\1 test}
      something test
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. severity changed to: "Minor"
    8. status changed to: "Closed"