This is the same method used in some text editors (e.g. Scite uses this exact same method for variables, $() ).<br><br><div class="gmail_quote">2010/8/7 Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com">newshound2@digitalmars.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Alexander Malakhov wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Also, for example, what if I want to put extra ')' paren into $(D text)?<br>
I think there is (simple) solution, but that is one more thing to learn.<br>
</blockquote>
<br></div>
RPAREN=)<br>
<br>
$(D text $(RPAREN) )<br>
<br>
You'll see a few of those in the macros, in particular $(DOLLAR) to embed a dollar sign. It's not so bad, every markup language needs an escape method.<br>
</blockquote></div><br>