[racket] useage of regexp-replace*
hello~
I am making comment removing function
but
when str contains
#| comment 1 |#
(define values1 1)
#| comment 2 |#
(define values2 2)
#| comment 3 |#
the following code delete all of my str
(regexp-replace* "\\#\\|(.*)\\|\\#" str " ")
could somebody let me know how to remove only these comments ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101117/7fb121ed/attachment.html>