[erlang-questions] re:split - splitting at \x00

michael micha-1@REDACTED
Wed Jan 20 14:15:42 CET 2010


the solution is that backslashes in regular expressions should be escaped 
itself  by a backslash, since the erlang string handling consumes one 
backslash and inserts the resulting char into the string.
So in a string \x00 is replaced by ascii zero and \\x00 results in \x00

 Michael



More information about the erlang-questions mailing list