Overview
| Artifact ID: | b170814923e0b6f7efab01cbe80ae0881bdda562 |
|---|---|
| Ticket: | 755335ffffffffffffffffffffffffffffffffff
regsub won't substitute against an empty string |
| User & Date: | vincentdarley on 2003-06-16 14:11:55 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Despite the fact that patterns like '^' can and do match the empty string, 'regsub' will refuse to acknowledge them and refuse to perform substitutions. For example: GOOD: % regexp -- ^ {} 1 BAD: % regsub -- ^ {} {replace} var 0 % set var <empty string> Of course this should replace '{}' with 'replace'. - foundin changed to: "obsolete: 8.4.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "regsub won't substitute against an empty string"
- type changed to: "Bug"