& is not getting replaced in re:replace

Wes James comptekki@REDACTED
Mon May 3 19:16:14 CEST 2010


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?

thx,

-wes


More information about the erlang-questions mailing list