Overview
| Artifact ID: | 44aece65b20c63754315d4b19189ac4a8969200d |
|---|---|
| Ticket: | f2f70aa60c0844cd9ebcaabb630e5ea64325db90
regsub -all misses matches in Tcl 8.6 |
| User & Date: | gustafn2 on 2016-10-14 11:25:59 |
Changes
- closedate changed to: "2457675.97638328"
- closer changed to: "gustafn2"
- icomment:
many thanks for the quick reply. i can confirm that the 2-hex-digit variant is correct: set changed [regsub -all {(http://[^\(\)\"<>\s]+)} $txt "\x01\\1\x02" txt1] set changed_back [regsub -all {\x01([^\x02]*)\x02} $txt1 {\1} txt2] puts stderr "$tcl_patchLevel: changed $changed changed_back $changed_back" its my fault, i have not spotted the 3-hex-digit at the first place, the change is documented in http://wiki.tcl.tk/21276. i am still not sure, why the regsub works sometimes and sometimes no (in the original case 7x ok, 1x not ok)... but i am not sure if i want to know this. - login: "gustafn2"
- mimetype: "text/plain"