& is not getting replaced in re:replace

Wes James comptekki@REDACTED
Mon May 3 19:26:46 CEST 2010


On Mon, May 3, 2010 at 11:16 AM, Wes James <comptekki@REDACTED> wrote:
> Is there something special with "&" in erlang.
>
>
> re:replace(T, "<", "&", [{return, list}, global]).
> "<"
>
> I noticed that a string I had was not getting changed and it came down
> to the above re:replace of "<" with "&" return "<".  Why?


OK - I found it here:

http://www.erlang.org/doc/man/re.html


More information about the erlang-questions mailing list