- or download this
{foo is awesome and so is {bar}}
- or download this
{foo is not {balanced}
- or download this
{center foo}
||this is comment
- or download this
|| an open brace looks like this {
{beginning of a block
{some function}
end of a block}
- or download this
$text =~ s/\|\|(.*?)\n/\<\!\-\-$1\-\-\>\n/g; #turn line comment form i
+nto XML comment form
$text =~ s/<\!\-\-(.*?)\}(.*?)\-\->/<\!\-\-$1 endbrace $2\-\->/gxs; #e
+scape the end braces in comment so they needn't be balanced
$text =~ s/<\!\-\-(.*?)\{(.*?)\-\->/<\!\-\-$1 openbrace $2\-\->/gxs; #
+ditto for open braces
- or download this
||{paragraph The union of zero or more {glossary citation="type", typ
+es }
...
|| representational type } that can be used to {glossary declare } a
+ {glossary
|| variable } that can hold either an {INT } or a {FLOAT }. }
- or download this
<!-- { paragraph The union of zero or more <glossary citation="type",
+ types } -->
...
<!-- representational type } that can be used to { glossary declar
+e </glossary--> a <glossary-->>
<!-- variable } that can hold either an { INT </glossary--> or a
+<FLOAT> </FLOAT>. > -->