23.04.2012 18:54, kenji hara написал:
Please give us use cases. I cannot imagine why you want to
change/remove quotations but keep escaped contents.

Sorry, I should mention that !' and !" are optional and aren't commonly
used, and all !?* are very optional and are here just for completeness
(IMHO).

An example is generating a complicated string for C/C++:
---
myCppFile.writefln(`tmp = "%!?"s, and %!?"s, and even %!?"s";`,
                   str1, str2, str3)
---

--
Денис В. Шеломовский
Denis V. Shelomovskij

Reply via email to