replace and bad argument

info info@REDACTED
Sat Jun 19 15:49:24 CEST 2010


I want to replace the "),(" string by the "/" char.

re:replace("(a,b),(c,d)","),(","/",[{return,list}]).

I received this message:

** exception error: bad argument
     in function  re:replace/4
        called as re:replace("(a,b),(c,d)","),(","/",[{return,list}])


More information about the erlang-questions mailing list