Artifacts Associated With Ticket 3414132fffffffff
Ticket change [5270c4ee56] (rid 126318) by anonymous on 2011-09-26 18:05:14:
- assignee initialized to: "pvgoran"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.5.10"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- subsystem initialized to: "43. Regexp"
- title initialized to: "Regsub repeats "supSpec""
- type initialized to: "Bug"
Ticket change [724d1dde54] (rid 100831) by anonymous on 2011-09-27 01:09:51:
- icomment:
Without -all it's ok too.
- login: ""
- mimetype: "text/plain"
- username: ""
- icomment:
Ticket change [a778e502c0] (rid 98802) by dgp on 2011-09-27 23:26:48:
- icomment:
(.*) matches the empty string.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [a499ea61be] (rid 110232) by dgp on 2011-09-28 00:08:46:
- closedate changed to: "2011-09-27T17:08:46"
- closer changed to: "dgp"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "dgp"
Ticket change [6e13b622c1] (rid 135554) by dkf on 2013-11-12 12:32:24:
- assignee changed to: "aku"
- closedate changed to: "2456609.02250051"
- closer changed to: "dkf"
- 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 - login: "dkf"
- mimetype: "text/plain"
- severity changed to: "Minor"
- status changed to: "Closed"