Strip block comments: Difference between revisions

Content added Content deleted
(Add Seed7 example)
(Improve Seed7 example)
Line 1,131: Line 1,131:


=={{header|Seed7}}==
=={{header|Seed7}}==
The function [http://seed7.sourceforge.net/libraries/string.htm#replace2%28in_string,in_string,__in_string,in_string%29 replace2]
can be used to replace unnested comments.

<lang seed7>$ include "seed7_05.s7i";
<lang seed7>$ include "seed7_05.s7i";