Hi -

Aha! RST does support a comment syntax already, so I was able to do this:

/*
bla bla bla

``%/*/``
 next argument contains the regular expression to match

.. (comment) the above started a nested comment, so here we end it */


 */


I think that's a satisfactory (if strange) solution.



(Just for the record, I also tried using a Unicode zero-width space
 U+200B in between the /*/ characters. That rendered as you'd like it
 to but it looks strange in my text editor, you can't search for it
 in the web-browser, and it turns into spaces when I paste it to
 a terminal on my system).



Thanks,


-michael


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to